Moved items to items.yml config, closes #59

This commit is contained in:
Stijn Bannink 2023-08-13 19:25:19 +02:00
parent 6662f74d4f
commit 098ebeb5d7
6 changed files with 155 additions and 129 deletions

View file

@ -1,4 +1,4 @@
#General sign texts
# Generic sign texts
SignText: "[v10lift]"
DefectText: "&kDefect!"
DisabledText: "&cDisabled"
@ -6,30 +6,30 @@ MaintenanceText: "&cMaintenance"
UpText: "&aup"
DownText: "&adown"
#The change for a lift to get defective. Disabled by default.
# The change for a lift to get defective. Disabled by default.
DefectRate: 0.0
#The repair item and amount required
# The repair item and amount required
RepairItem: REDSTONE
RepairAmount: 5
#The master repair item and amount required
# The master repair item and amount required
MasterRepairItem: DIAMOND
MasterRepairAmount: 10
#The default speed of a lift
# The default speed of a lift
DefaultSpeed: 16
#Create lifts with realistic mode enabled default?
# Create lifts with realistic mode enabled default?
DefaultRealistic: true
#The time for the door to close, in ticks. 20 ticks = 1 sec
# The time for the door to close, in ticks. 20 ticks = 1 sec
DoorCloseTime: 100
#Teleport with packets (no Bukkit events will be fired then)
# Teleport with packets (no Bukkit events will be fired then)
PacketTeleport: false
#The updater checker - It will check for new versions, and install automatically if found.
# The updater checker - It will check for new versions, and install automatically if found.
UpdateChecker:
Enabled: true
DownloadOnUpdate: true

View file

@ -0,0 +1,113 @@
# These items can't be added to an elevator cabin
ForbiddenMaterials:
- BLACK_BED
- BLUE_BED
- BROWN_BED
- CYAN_BED
- GRAY_BED
- GREEN_BED
- LIGHT_BLUE_BED
- LIGHT_GRAY_BED
- LIME_BED
- MAGENTA_BED
- ORANGE_BED
- PINK_BED
- PURPLE_BED
- RED_BED
- WHITE_BED
- YELLOW_BED
- ACACIA_SAPLING
- BAMBOO_SAPLING
- BIRCH_SAPLING
- DARK_OAK_SAPLING
- JUNGLE_SAPLING
- OAK_SAPLING
- SPRUCE_SAPLING
- TNT
- PISTON
- PISTON_HEAD
- MOVING_PISTON
- STICKY_PISTON
# These items won't be copied when the elevator is moving
AntiCopyMaterials:
- REDSTONE_TORCH
- REDSTONE_WALL_TORCH
- REPEATER
- COMPARATOR
- REDSTONE_WIRE
- ACACIA_BUTTON
- BIRCH_BUTTON
- DARK_OAK_BUTTON
- JUNGLE_BUTTON
- OAK_BUTTON
- SPRUCE_BUTTON
- STONE_BUTTON
- TORCH
- ACACIA_TRAPDOOR
- BIRCH_TRAPDOOR
- DARK_OAK_TRAPDOOR
- JUNGLE_TRAPDOOR
- OAK_TRAPDOOR
- SPRUCE_TRAPDOOR
- IRON_TRAPDOOR
- ACACIA_PRESSURE_PLATE
- BIRCH_PRESSURE_PLATE
- DARK_OAK_PRESSURE_PLATE
- JUNGLE_PRESSURE_PLATE
- OAK_PRESSURE_PLATE
- SPRUCE_PRESSURE_PLATE
- STONE_PRESSURE_PLATE
- HEAVY_WEIGHTED_PRESSURE_PLATE
- LIGHT_WEIGHTED_PRESSURE_PLATE
- ACACIA_SIGN
- BIRCH_SIGN
- DARK_OAK_SIGN
- JUNGLE_SIGN
- OAK_SIGN
- SPRUCE_SIGN
- ACACIA_WALL_SIGN
- BIRCH_WALL_SIGN
- DARK_OAK_WALL_SIGN
- JUNGLE_WALL_SIGN
- OAK_WALL_SIGN
- SPRUCE_WALL_SIGN
- RAIL
- POWERED_RAIL
- DETECTOR_RAIL
- ACTIVATOR_RAIL
- LADDER
- WHITE_CARPET
- ORANGE_CARPET
- MAGENTA_CARPET
- LIGHT_BLUE_CARPET
- YELLOW_CARPET
- LIME_CARPET
- PINK_CARPET
- GRAY_CARPET
- LIGHT_GRAY_CARPET
- CYAN_CARPET
- PURPLE_CARPET
- BLUE_CARPET
- BROWN_CARPET
- GREEN_CARPET
- RED_CARPET
- BLACK_CARPET
- BEEHIVE
- BELL
- BREWING_STAND
- BUBBLE_COLUMN
- CAKE
- CAMPFIRE
- COCOA
- COMMAND_BLOCK
- CHAIN_COMMAND_BLOCK
- REPEATING_COMMAND_BLOCK
- DAYLIGHT_DETECTOR
- DISPENSER
- END_PORTAL_FRAME
- FARMLAND
- FIRE
- FURNACE
- HOPPER
- JUKEBOX