meiskam / PlayerHeads

Bukkit Plugin - Drops a player's head when s/he dies, also mob heads
https://dev.bukkit.org/projects/player-heads
Other
16 stars 39 forks source link

Config wont work #16

Closed Axeera closed 4 years ago

Axeera commented 4 years ago

I change settings in the config file and they wont change anything in game after.

crashdemons commented 4 years ago

did you reload the config with the command?

what version are you using? are you editing the config.yml in the plugin/PlayerHeads folder?

Axeera commented 4 years ago

I restarted the whole server and changed everything in the yml, but i have not used any commands in game. Only changed the files and restarted every time. Using the latest verision.

crashdemons commented 4 years ago

I'm not able to reproduce the issue with 5.2.3 or 5.2.5 on a 1.15.1 server.

I can use the /ph config set ... to change droprates and other settings, and it is reflected by ingame behavior.

I can change the file directly while the server is running and use /ph config reload to see the changes reflected ingame.

What can't be done though is changing the file while the server is running and restart the server, since this will cause the plugin to save any possible ingame changes (like with ph config set ...), overwriting the file. A ph config reload must be performed if you want to change it from the file while the server is running.

If you've done that and you still have issues, then there may be a formatting issue with your YML file. pasting it into the following website will let you know if this is the case: http://www.yamllint.com/

If this isn't the case and you still have issues, please post your server type and version, as well as the plugin version and where you downloaded it from.


Sidenote: development builds (especially for future version 5.3) are not stable. Stable releases are posted on BukkitDev. (currently 5.2.3 or 5.2.5, or 4.10.0 if you need legacy head support)

Axeera commented 4 years ago

thanks got it to work now, did not know i had to reload it, all other plugins work by restarting the server.