Package org.samo_lego.golfiv.storage
Class GolfConfig
java.lang.Object
org.samo_lego.golfiv.storage.GolfConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Combat checks settings.static class
static class
Checks item picked that come in players inventory, whether they have disallowed enchantments.static class
Main part of the config.static class
Movement checks settings.static class
Outgoing packet settings. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
final GolfConfig.Combat
final GolfConfig.Duplication
final GolfConfig.IllegalItems
final GolfConfig.Main
final GolfConfig.Movement
final GolfConfig.Packet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GolfConfig
loadConfig
(File configFile) Loads GolfIV config from file.void
saveConfig
(File configFile) Saves GolfIV config to the file.
-
Field Details
-
_comment_packet
- See Also:
-
main
-
items
-
combat
-
packet
-
movement
-
duplication
-
-
Constructor Details
-
GolfConfig
public GolfConfig()
-
-
Method Details
-
loadConfig
Loads GolfIV config from file.- Parameters:
configFile
- file to read GolfIV config from.- Returns:
- GolfConfig object
-
saveConfig
Saves GolfIV config to the file.- Parameters:
configFile
- file where to save config to.
-