This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I run a semi-anarchy minecraft server and combat tping is something I'm trying to prevent. I set MOVE_LISTENER: true and it isn't making a difference. Players are moving and still teleporting. The commands are dependent on Multiverse plugin. These are my commands:
resourceworld: command: /resourceworld type: RUN_AS_OPERATOR runcmd: - $Script$%if%$world==world<or>$world==world_nether - /mvtp resource_world - /tellraw $player ["",{"text":"You have been teleported to the resource world!","color":"aqua"},{"text":" Be careful, players can see you on","color":"red"},{"text":" http://dynmap.potionssmp.net/","color":"yellow"}] - $Script$%if%$world==world_the_end - /tellraw $player {"text":"This command does not work in The End!","color":"red"} permission-required: false register: true warmup: 10mainworld: command: /mainworld type: RUN_AS_OPERATOR runcmd: - $Script$%if%$world==resource_world<or>$world==resource_world_nether - /mvtp world - /tellraw $player {"text":"You have been teleported back to the main world!","color":"aqua"} - $Script$%if%$world==world_the_end - /tellraw $player {"text":"This command does not work in The End!","color":"red"} permission-required: false register: true warmup: 10spawn: command: /spawn type: RUN_AS_OPERATOR runcmd: - /mvtp world - /tellraw $player {"text":"You have been teleported to spawn!","color":"aqua"} permission-required: false register: true warmup: 10
Move Listener should only work with warmup.
so using warmup: <seconds to stand still> should fix the problem:
wiki:
Warm-ups can be canceled on the move event. Put true on MOVE_LISTENER in the main config. (config.yml)
(It's disabled (false) by default, once changed, restart the server to make it effective)
if that doesn't work, maybe try setting a playerdata value to the current position of the player at the start with no delay
and execute other commands with a delay and check if the player's position matches the playerdata
hope you could still use it after like a year xD
To post a comment, please login or register a new account.