garbagemule / MobArena

MobArena plugin for Minecraft
GNU General Public License v3.0
195 stars 150 forks source link

Mob Arena Config and Linux (CentOS) #220

Closed Wharp closed 10 years ago

Wharp commented 10 years ago

I'm not 100% certain this is a code issue, but when I set permissions using the Class permissions node in the config file, then reload the server, the config.yml is altered. It lookes like this when I set it up:

Technic:
    permissions:
        - magicspells.grant.*
        - magicspells.cast.*

However, after reloading, it's been changed to this:

Technic:
    permissions: -magicspells.grant.* -magicspells.cast.*

Now, this isn't just a formatting issue, because this actually affects how the permissions behave, because it in effect disallows those permissions instead of manually allowing them like I wanted.

I've checked this and so far it's only happened to me on my CentOS linux distro, and not windows. Any help?

Wharp commented 10 years ago

Also, the only way I've found to deal with this is to set the config.yml file as "Read-Only" when I'm not editting it. I'm not so sure how good that is, because it returns an error in the server console, but the arena seems to play fine.

garbagemule commented 10 years ago

Answer was provided in this ticket: http://dev.bukkit.org/bukkit-plugins/mobarena/tickets/1167-mob-arena-and-cent-os-linux/