Closed hkkongou closed 3 years ago
Thanks for filing an issue. This does look like an issue with the config file. Could you please post a copy of the config here? You can also try to delete the config file and let the plugin generate a new one.
I did not edit anything in config file.
enabledWorlds:
- world
- world_nether
- world_the_end
- world_main
allowNaturalSpawn: true
onlyNerfNatural: true
muteSound: false
disableAI: false
health: 20.0
damageModifier: 1.0
fixedSize:
enabled: false
value: 1
database:
enabled: false
type: mysql
host: localhost
port: 3306
name: nerfphantoms
username: user
password: '123456'
btw, I am not quite understand what does enable world mean, does it mean the following listed world 1.will have nerfphantom in action 2.phantoms will not spawn in the listed world, non listed world will spawn as vanilla
btw, I am not quite understand what does enable world mean, does it mean the following listed world 1.will have nerfphantom in action 2.phantoms will not spawn in the listed world, non listed world will spawn as vanilla
Good question! enabledWorlds
is a list of worlds where the plugin is active. The plugin will not take actions in worlds not listed there (not nerf or prevent phantoms from spawning).
When installing the plugin this world list is generated, and by default contains all available worlds. If you remove or add worlds later you'll need to adjust the config.
I've improved this configuration option a bit. Could you test again with this development build? https://github.com/Tallcraft/NerfPhantoms/suites/1617060740/artifacts/29673448 (jar file is in the ZIP). If it still doesn't work, check if the plugin prints a log message like:
Config entry "enabledWorlds" contains unknown world 'worldName'.
This development build also allows you to set enabledWorlds
to an empty list. The plugin will then be active for all worlds.
yes sure, i will try that out and report bug if i face. thank you
@hkkongou Did it work with the development build or do you still have issues?
No reply from reporter. Closing issue.
it show the above error log and no phantom is spawned. Config no change.
paper 253 1.16.3 NerfPhantoms 1.3.0