66
77public class ConfigValues {
88 private static final Logger logger = SimpleFly .getFlyServer ().getLogger ();
9- public static String papiFlightEnabled , papiFlightDisabled , prefix , enabled , disabled , flyOther ,
10- flyOwn , flySetByOther , flySpeedOther , flySpeedOwn , flySpeedSet , flySpeedReset ,
9+ public static String papiFlightEnabled , papiFlightDisabled , prefix , enabled , disabled , flySetOther ,
10+ flySetOwn , flySetByOther , flySpeedGetOther , flySpeedGetOwn , flySpeedSetOwn , flySpeedResetOwn ,
1111 flySpeedSetOther , flySpeedResetOther , flySpeedSetByOther , flySpeedResetByOther ,
12- notAPlayer , noPermission , mustBePlayer , notEnoughArguments , notANumber , notInRange ;
12+ invalidPlayer , noPermission , mustBePlayer , notEnoughArguments , invalidNumber , notInRange ;
1313
1414 public static float maxFlySpeed , minFlySpeed ;
1515 public static boolean sessionPersistentFlight , worldChangePersistentFlight ,
@@ -35,28 +35,28 @@ public static void reloadConfigValues(){
3535 }
3636 public static void reloadLangValues (){
3737 FileConfiguration config = SimpleFly .getInstance ().getConfig ();
38- papiFlightEnabled = config .getString ("papi-flight- enabled" );
39- papiFlightDisabled = config .getString ("papi-flight- disabled" );
40- prefix = config .getString ("prefix" );
41- enabled = config .getString ("enabled" );
42- disabled = config .getString ("disabled" );
43- flyOther = config .getString ("fly-other" );
44- flyOwn = config .getString ("fly-own" );
45- flySetByOther = config .getString ("fly-set- by-other" );
46- flySpeedOther = config .getString ("fly-speed-other" );
47- flySpeedOwn = config .getString ("fly-speed-own" );
48- flySpeedSet = config .getString ("fly-speed-set" );
49- flySpeedReset = config .getString ("fly-speed-reset" );
50- flySpeedSetOther = config .getString ("fly-speed-set- other" );
51- flySpeedResetOther = config .getString ("fly-speed-reset- other" );
52- flySpeedSetByOther = config .getString ("fly-speed-set- by-other" );
53- flySpeedResetByOther = config .getString ("fly-speed-reset- by-other" );
54- notAPlayer = config .getString ("not-a -player" );
55- noPermission = config .getString ("no-permission" );
56- mustBePlayer = config .getString ("must-be-player" );
57- notEnoughArguments = config .getString ("not-enough-arguments" );
58- notANumber = config .getString ("not-a -number" );
59- notInRange = config .getString ("not-in-range" );
38+ papiFlightEnabled = config .getString ("papi-flight. enabled" );
39+ papiFlightDisabled = config .getString ("papi-flight. disabled" );
40+ prefix = config .getString ("insertion. prefix" );
41+ enabled = config .getString ("insertion. enabled" );
42+ disabled = config .getString ("insertion. disabled" );
43+ flySetOther = config .getString ("fly-set. other" );
44+ flySetOwn = config .getString ("fly-set. own" );
45+ flySetByOther = config .getString ("fly-set. by-other" );
46+ flySpeedGetOther = config .getString ("fly-speed-get. other" );
47+ flySpeedGetOwn = config .getString ("fly-speed-get. own" );
48+ flySpeedSetOwn = config .getString ("fly-speed-set.own " );
49+ flySpeedResetOwn = config .getString ("fly-speed-reset.own " );
50+ flySpeedSetOther = config .getString ("fly-speed-set. other" );
51+ flySpeedResetOther = config .getString ("fly-speed-reset. other" );
52+ flySpeedSetByOther = config .getString ("fly-speed-set. by-other" );
53+ flySpeedResetByOther = config .getString ("fly-speed-reset. by-other" );
54+ invalidPlayer = config .getString ("error.invalid -player" );
55+ noPermission = config .getString ("error. no-permission" );
56+ mustBePlayer = config .getString ("error. must-be-player" );
57+ notEnoughArguments = config .getString ("error. not-enough-arguments" );
58+ invalidNumber = config .getString ("error.invalid -number" );
59+ notInRange = config .getString ("error. not-in-range" );
6060 }
6161
6262}
0 commit comments