This commit is contained in:
John Locke 2021-02-14 23:37:27 -05:00
parent df566c23a8
commit ace1e27475
3 changed files with 6 additions and 6 deletions

View file

@ -19,6 +19,6 @@ With this plugin:
**For server owners:**
- Best paired with an anticheat to prevent duplication
- The egg location does not update when taken out of a chest until the chest is closed, so you should also enable [inventory close](https://github.com/NoCheatPlus/Docs/wiki/%5BInventory%5D-Open) on your anticheat to prevent the player from teleporting away with their inventory open
- This plugin integrates with MongoDB so it can communicate with our discord bot
- If you need any help using this plugin, open an issue. The configuration can be made more user-friendly, we just haven't bothered to do so yet
- This plugin integrates with MongoDB so it can communicate with our discord bot, see the config.yml to enable it
- Most settings you might need can be changed via the config.yml, open an issue if you don't see a setting you want
- See [here](https://github.com/HyperSMP/EggHuntPlugin/projects/1) for our TODO list regarding this plugin

View file

@ -141,7 +141,7 @@ public class FileSave {
}
public boolean getBoolFromConfig(String key) {
return Boolean.parseBoolean(plugin.getConfig().getString("key","false"));
return Boolean.parseBoolean(plugin.getConfig().getString(key,"false"));
}
}

View file

@ -1,5 +1,5 @@
#name of your end world, defaults to "world_end" on spigot
end: world_end
#name of your end world, defaults to "world_the_end" on spigot
end: world_the_end
#whether the egg teleporting resets the owner to none
reset_owner: true
@ -15,7 +15,7 @@ resp_imm: false
#whether to use mongoDB
use_db: false
db_username: null
db_name: null
db_password: null