mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2025-01-30 22:31:29 +01:00
Merge branch 'develop' of https://github.com/BentoBoxWorld/bskyblock.git
into develop Conflicts: pom.xml
This commit is contained in:
commit
6bc0817278
@ -42,7 +42,6 @@ public class BSkyBlock extends GameModeAddon {
|
|||||||
logError("BSkyBlock settings could not load! Addon disabled.");
|
logError("BSkyBlock settings could not load! Addon disabled.");
|
||||||
setState(State.DISABLED);
|
setState(State.DISABLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -31,7 +31,6 @@ import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
|
|||||||
@ConfigComment("This config file is dynamic and saved when the server is shutdown.")
|
@ConfigComment("This config file is dynamic and saved when the server is shutdown.")
|
||||||
@ConfigComment("You cannot edit it while the server is running because changes will")
|
@ConfigComment("You cannot edit it while the server is running because changes will")
|
||||||
@ConfigComment("be lost! Use in-game settings GUI or edit when server is offline.")
|
@ConfigComment("be lost! Use in-game settings GUI or edit when server is offline.")
|
||||||
@ConfigComment("")
|
|
||||||
public class Settings implements DataObject, WorldSettings {
|
public class Settings implements DataObject, WorldSettings {
|
||||||
|
|
||||||
/* WORLD */
|
/* WORLD */
|
||||||
|
@ -9,6 +9,7 @@ import world.bentobox.bentobox.api.commands.admin.AdminInfoCommand;
|
|||||||
import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminRegisterCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminReloadCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminReloadCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminSetrankCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminSetrankCommand;
|
||||||
|
import world.bentobox.bentobox.api.commands.admin.AdminSetspawnCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminTeleportCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminUnregisterCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminUnregisterCommand;
|
||||||
import world.bentobox.bentobox.api.commands.admin.AdminVersionCommand;
|
import world.bentobox.bentobox.api.commands.admin.AdminVersionCommand;
|
||||||
@ -67,6 +68,8 @@ public class AdminCommand extends CompositeCommand {
|
|||||||
new AdminDeathsCommand(this);
|
new AdminDeathsCommand(this);
|
||||||
// Reload
|
// Reload
|
||||||
new AdminReloadCommand(this);
|
new AdminReloadCommand(this);
|
||||||
|
// Spawn
|
||||||
|
new AdminSetspawnCommand(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -15,6 +15,7 @@ import world.bentobox.bentobox.api.commands.island.IslandResetnameCommand;
|
|||||||
import world.bentobox.bentobox.api.commands.island.IslandSethomeCommand;
|
import world.bentobox.bentobox.api.commands.island.IslandSethomeCommand;
|
||||||
import world.bentobox.bentobox.api.commands.island.IslandSetnameCommand;
|
import world.bentobox.bentobox.api.commands.island.IslandSetnameCommand;
|
||||||
import world.bentobox.bentobox.api.commands.island.IslandSettingsCommand;
|
import world.bentobox.bentobox.api.commands.island.IslandSettingsCommand;
|
||||||
|
import world.bentobox.bentobox.api.commands.island.IslandSpawnCommand;
|
||||||
import world.bentobox.bentobox.api.commands.island.IslandUnbanCommand;
|
import world.bentobox.bentobox.api.commands.island.IslandUnbanCommand;
|
||||||
import world.bentobox.bentobox.api.commands.island.team.IslandTeamCommand;
|
import world.bentobox.bentobox.api.commands.island.team.IslandTeamCommand;
|
||||||
import world.bentobox.bentobox.api.localization.TextVariables;
|
import world.bentobox.bentobox.api.localization.TextVariables;
|
||||||
@ -41,6 +42,7 @@ public class IslandCommand extends CompositeCommand {
|
|||||||
new IslandInfoCommand(this);
|
new IslandInfoCommand(this);
|
||||||
new IslandCreateCommand(this);
|
new IslandCreateCommand(this);
|
||||||
new IslandGoCommand(this);
|
new IslandGoCommand(this);
|
||||||
|
new IslandSpawnCommand(this);
|
||||||
new IslandResetCommand(this);
|
new IslandResetCommand(this);
|
||||||
new IslandSetnameCommand(this);
|
new IslandSetnameCommand(this);
|
||||||
new IslandResetnameCommand(this);
|
new IslandResetnameCommand(this);
|
||||||
@ -72,7 +74,5 @@ public class IslandCommand extends CompositeCommand {
|
|||||||
}
|
}
|
||||||
user.sendMessage("general.errors.unknown-command", TextVariables.LABEL, getTopLabel());
|
user.sendMessage("general.errors.unknown-command", TextVariables.LABEL, getTopLabel());
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
name: BSkyBlock
|
name: BSkyBlock
|
||||||
main: world.bentobox.bskyblock.BSkyBlock
|
main: world.bentobox.bskyblock.BSkyBlock
|
||||||
version: ${version}
|
version: ${version}
|
||||||
|
metrics: true
|
||||||
|
|
||||||
authors: tastybento
|
authors: tastybento
|
||||||
|
|
||||||
@ -20,9 +21,6 @@ permissions:
|
|||||||
bskyblock.island.info:
|
bskyblock.island.info:
|
||||||
description: Let the player check their island level
|
description: Let the player check their island level
|
||||||
default: true
|
default: true
|
||||||
bskyblock.island.sethome:
|
|
||||||
description: Let the player set their island teleport point
|
|
||||||
default: true
|
|
||||||
bskyblock.island.lock:
|
bskyblock.island.lock:
|
||||||
description: Allows island locking
|
description: Allows island locking
|
||||||
default: false
|
default: false
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# BSkyBlock Configuration 1.0
|
# BSkyBlock Configuration 1.1
|
||||||
# This config file is dynamic and saved when the server is shutdown.
|
# This config file is dynamic and saved when the server is shutdown.
|
||||||
# You cannot edit it while the server is running because changes will
|
# You cannot edit it while the server is running because changes will
|
||||||
# be lost! Use in-game settings GUI or edit when server is offline.
|
# be lost! Use in-game settings GUI or edit when server is offline.
|
||||||
#
|
|
||||||
world:
|
world:
|
||||||
# Friendly name for this world. Used in admin commands. Must be a single word
|
# Friendly name for this world. Used in admin commands. Must be a single word
|
||||||
friendly-name: BSkyBlock
|
friendly-name: BSkyBlock
|
||||||
@ -82,10 +81,10 @@ world:
|
|||||||
dragon-spawn: false
|
dragon-spawn: false
|
||||||
# Mob white list - these mobs will NOT be removed when logging in or doing /island
|
# Mob white list - these mobs will NOT be removed when logging in or doing /island
|
||||||
remove-mobs-whitelist:
|
remove-mobs-whitelist:
|
||||||
|
- WITHER
|
||||||
|
- PIG_ZOMBIE
|
||||||
- ENDERMAN
|
- ENDERMAN
|
||||||
- ZOMBIE_VILLAGER
|
- ZOMBIE_VILLAGER
|
||||||
- PIG_ZOMBIE
|
|
||||||
- WITHER
|
|
||||||
# World flags. These are boolean settings for various flags for this world
|
# World flags. These are boolean settings for various flags for this world
|
||||||
flags:
|
flags:
|
||||||
CREEPER_DAMAGE: true
|
CREEPER_DAMAGE: true
|
||||||
@ -149,19 +148,20 @@ world:
|
|||||||
CRAFTING: 0
|
CRAFTING: 0
|
||||||
ENCHANTING: 0
|
ENCHANTING: 0
|
||||||
SHEARING: 500
|
SHEARING: 500
|
||||||
SPAWN_EGGS: 500
|
|
||||||
BED: 500
|
BED: 500
|
||||||
|
SPAWN_EGGS: 500
|
||||||
MILKING: 0
|
MILKING: 0
|
||||||
DISPENSER: 500
|
DISPENSER: 500
|
||||||
GATE: 0
|
GATE: 0
|
||||||
EXPERIENCE_PICKUP: 500
|
EXPERIENCE_PICKUP: 500
|
||||||
HOPPER: 500
|
HOPPER: 500
|
||||||
LEASH: 500
|
LEASH: 500
|
||||||
BREAK_BLOCKS: 500
|
|
||||||
MOUNT_INVENTORY: 500
|
MOUNT_INVENTORY: 500
|
||||||
|
BREAK_BLOCKS: 500
|
||||||
CHORUS_FRUIT: 500
|
CHORUS_FRUIT: 500
|
||||||
CONTAINER: 500
|
CONTAINER: 500
|
||||||
JUKEBOX: 500
|
JUKEBOX: 500
|
||||||
|
POTION_THROWING: 500
|
||||||
# These are the default settings for new islands
|
# These are the default settings for new islands
|
||||||
default-island-settings:
|
default-island-settings:
|
||||||
PVP_END: false
|
PVP_END: false
|
||||||
|
Loading…
Reference in New Issue
Block a user