mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-18 21:01:41 +01:00
Update dictionaries and comments
This commit is contained in:
parent
27344a411f
commit
77bb0d1326
@ -1,8 +1,17 @@
|
|||||||
<component name="ProjectDictionaryState">
|
<component name="ProjectDictionaryState">
|
||||||
<dictionary name="Georg">
|
<dictionary name="Georg">
|
||||||
<words>
|
<words>
|
||||||
|
<w>cooldowns</w>
|
||||||
<w>ingame</w>
|
<w>ingame</w>
|
||||||
<w>munge</w>
|
<w>munge</w>
|
||||||
|
<w>ondisconnect</w>
|
||||||
|
<w>ondisconnectdelayed</w>
|
||||||
|
<w>uncache</w>
|
||||||
|
<w>uncaching</w>
|
||||||
|
<w>xxxx</w>
|
||||||
|
<w>xxxxxxxx</w>
|
||||||
|
<w>xxxxxxxxxxxx</w>
|
||||||
|
<w>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</w>
|
||||||
</words>
|
</words>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
</component>
|
</component>
|
@ -9,6 +9,9 @@
|
|||||||
<w>mojang</w>
|
<w>mojang</w>
|
||||||
<w>papermc</w>
|
<w>papermc</w>
|
||||||
<w>placeholderapi</w>
|
<w>placeholderapi</w>
|
||||||
|
<w>shulker</w>
|
||||||
|
<w>shulkerbox</w>
|
||||||
|
<w>shulkerboxes</w>
|
||||||
<w>spigot</w>
|
<w>spigot</w>
|
||||||
</words>
|
</words>
|
||||||
</dictionary>
|
</dictionary>
|
||||||
|
@ -113,7 +113,7 @@ Database:
|
|||||||
# Settings controlling the cache behavior of the plugin. You may optimize it a little depending on your player count, ram or cpu bottlenecks.
|
# Settings controlling the cache behavior of the plugin. You may optimize it a little depending on your player count, ram or cpu bottlenecks.
|
||||||
Cache:
|
Cache:
|
||||||
UnCache:
|
UnCache:
|
||||||
# The strategy used to uncache offline players. Options
|
# The strategy used to uncache offline players. Options:
|
||||||
# interval (offline players get uncached every x seconds)
|
# interval (offline players get uncached every x seconds)
|
||||||
# intervalChecked (like interval, but also ensures that the player is already offline for at least the interval time, adds a cpu overhead)
|
# intervalChecked (like interval, but also ensures that the player is already offline for at least the interval time, adds a cpu overhead)
|
||||||
# ondisconnect (player instantly gets uncached as soon as he disconnects, may adds overhead if other plugins try to access the player data when they go offline, also it may be problematic for players with unstable connections)
|
# ondisconnect (player instantly gets uncached as soon as he disconnects, may adds overhead if other plugins try to access the player data when they go offline, also it may be problematic for players with unstable connections)
|
||||||
@ -124,11 +124,11 @@ Database:
|
|||||||
Delay: 600
|
Delay: 600
|
||||||
|
|
||||||
Shulkerboxes:
|
Shulkerboxes:
|
||||||
# This setting controls whether players can put shulkerboxes into their backpacks.
|
# This setting controls whether players can put shulker-boxes into their backpacks.
|
||||||
PreventInBackpack: true
|
PreventInBackpack: true
|
||||||
# This setting allows disabling shulkerboxes all together. Players won't be able to craft or use them.
|
# This setting allows disabling shulker-boxes all together. Players won't be able to craft or use them.
|
||||||
DisableShulkerboxes: false
|
DisableShulkerboxes: false
|
||||||
# This setting controls how existing shulkerboxes are handled if they are disabled.
|
# This setting controls how existing shulker-boxes are handled if they are disabled.
|
||||||
# Options: Ignore, Remove = shulker-box will be removed including its content, Destroy = shulker-box will be destroyed, and it's content will be dropped
|
# Options: Ignore, Remove = shulker-box will be removed including its content, Destroy = shulker-box will be destroyed, and it's content will be dropped
|
||||||
Existing: "Ignore"
|
Existing: "Ignore"
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ protected void checkDB()
|
|||||||
if(rs.next()) return new Version(rs.getString("value"));
|
if(rs.next()) return new Version(rs.getString("value"));
|
||||||
}
|
}
|
||||||
try(ResultSet rs = stmt.executeQuery("SELECT name FROM sqlite_master WHERE type='table' AND name='backpack_players';"))
|
try(ResultSet rs = stmt.executeQuery("SELECT name FROM sqlite_master WHERE type='table' AND name='backpack_players';"))
|
||||||
{ // Check if players table exists
|
{ // Check if old players table exists
|
||||||
if(rs.next()) return new Version(2);
|
if(rs.next()) return new Version(2);
|
||||||
}
|
}
|
||||||
return plugin.getVersion();
|
return plugin.getVersion();
|
||||||
|
Loading…
Reference in New Issue
Block a user