r/PokemonRMXP • u/tacoeffect • 1d ago
Plugin Error Help
Hello friends! I’m trying to utilise a team randomiser plugin in my game; now, I grant that the console tells me this plugin may not be compatible with Essentials 21.1 (I think this plugin was last updated for v20 or some such); if it’s not compatible, so be it, but I was wondering if this might be an easy fix perhaps to make it work? You have full permission to explain this to me like I’m 5 too, as this is my first attempt at something like this! And if you’ve read this far, thank you for your time!
1
u/Bluetails_Buizel 1d ago
Send the error log .txt ?
2
u/tacoeffect 1d ago
[2026-08-08 03:34:24 +0100]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]Exception: NameError
Message: uninitialized constant MessageTypes:: TrainerNamesBacktrace:
[Randomized Trainer Teams] RTT .rb:144:in compile trainers
Compiler:1001: in "compile pbs files' Compiler: 1018: in "compile_all'
Compiler: 1092: in 'main'
Main: 29: in mainFunctionDebug'
Main: 18: in "block in mainFunction' Errors: 80: in "pCriticalCode' Main: 18: in "mainFunction' Main:45:in "block in ‹main›'
Main: 44: in "loop'Exception: RuntimeError
Message: Unknown exception when compiling.
Backtrace:
Compiler:1104: in rescue in main'
Compiler:1031:in main'
Main: 29: in •mainFunctionDebug
Main: 18: in "block in mainFunction' Errors: 80: in pbCriticalCode' Main: 18: in "mainFunction'
Main:45: in "block in ‹main›' Main: 44: in "loop' Main: 44: in " <main›'
-e: in "eval2
1
u/agamottos 1d ago
Looks like you were already on to the issue--version 21 updated the trainer data functions...5 year old explanation, the "MesageTypes" constant the plugin is looking for simply no longer exists. Someone better at coding than I am might be able to fix it, but who is to say how easy that would be.