aromaa / WorldGuardExtraFlags

Extension for the WorldGuard plugin.
https://www.spigotmc.org/resources/worldguard-extra-flags.4823
MIT License
90 stars 71 forks source link

command-on-entry and command-on-exit doing nothing in 1.14.4 #93

Closed GeoffGodwin closed 4 years ago

GeoffGodwin commented 4 years ago

MC Server: 1.14.4 WorldGuard: 7.0.1-rc2

Running on 1.14.4 I can't seem to get either of the command-on-* flags to do anything on my server.

I've checked through the issues here as well as forum posts mentioning the PermissionsEx plugin and WorldGuard having bypass permission problems and none of those appear to fix my issue. I would expect to receive an error but instead nothing inside these flags is called.

I noticed the spigot site shows this has been tested on 1.14.x but the docs mention it only supports up to MC 1.13 so perhaps this is a known issue and not yet resolved.

If not perhaps someone else here can shed some light. Here is an example region where I use the command in WorldGuard:

gate_survival: min: {x: 378, y: 139, z: 141} max: {x: 378, y: 141, z: 145} members: {} flags: command-on-exit: [/list] greeting: Entered Survival Mode command-on-entry: [/gamemode survival @p] owners: {} type: cuboid priority: 0

/list and /gamemode never fire despite the greeting message showing when I enter this region.

Thanks in advance for any info anyone can provide!

GeoffGodwin commented 4 years ago

So it turns out upgrading a server from 1.10 to 1.14 requires a lot of changes I missed.

Closing this but for anyone who stumbles into the same rabbit hole I was missing the ModifyWorld plugin. Adding that with the proper permissions fixed my flags.