ScreamingSandals / BedWars

Simple BedWars minigame plugin for Spigot version 1.8.8 - 1.21.1
https://www.spigotmc.org/resources/bedwars.63714/
GNU Lesser General Public License v3.0
268 stars 95 forks source link

Deleting Resources in my Config #228

Closed xEPICAIDANx closed 3 years ago

xEPICAIDANx commented 3 years ago

Describe the bug

A clear and concise description of what the bug is.

I Edit the Config file so that I could add resources to be spawned. I save it and it is saved after I check on it multiple times. However, when I start the game the whole config file resets and deletes all of my edits. What can I do to prevent this?

Server and plugin version

Spigot version: BedWars version:

Installed plugins on server (can be obtained by /pl)

Console log

Configuration (of config.yml and shop.yml)

If there are problem with only one game, paste here config of this game

locale: en debug: false allow-crafting: false keep-inventory-on-death: false in-lobby-colored-leather-by-team: true jointeam-entity-show-name: true friendlyfire: false player-drops: true join-randomly-after-lobby-timeout: false prevent-killing-villagers: true compass-enabled: true join-randomly-on-lobby-join: false add-wool-to-inventory-on-join: true prevent-spawning-mobs: true spawner-holograms: true spawner-disable-merge: true prevent-lobby-spawn-mobs-in-radius: 16 spawner-holo-height: 0.25 spawner-holograms-countdown: true damage-when-player-is-not-in-arena: false remove-unused-target-blocks: true allow-block-falling: true game-start-items: false player-respawn-items: false gived-game-start-items: [] gived-player-respawn-items: [] disable-hunger: false automatic-coloring-in-shop: true sell-max-64-per-click-in-shop: true destroy-placed-blocks-by-explosion-except: '' destroy-placed-blocks-by-explosion: true holo-above-bed: true allow-spectator-join: false disable-server-message: player-join: false player-leave: false disable-flight: true respawn-cooldown: enabled: true time: 5 stop-team-spawners-on-die: false allowed-commands: [] change-allowed-commands-to-blacklist: false bungee: enabled: false serverRestart: true serverStop: false server: hub auto-game-connect: false farmBlocks: enable: false blocks: [] scoreboard: enable: true title: §a%game%§r - %time% bedLost: §c✘ anchorEmpty: §e✘ bedExists: §a✔ teamTitle: '%bed%%color%%team%' title: enabled: true fadeIn: 0 stay: 20 fadeOut: 0 shop: rows: 4 render-actual-rows: 6 render-offset: 9 render-header-start: 0 render-footer-start: 45 items-on-row: 9 show-page-numbers: true inventory-type: CHEST citizens-enabled: false items: jointeam: COMPASS leavegame: SLIME_BALL startgame: DIAMOND shopback: BARRIER shopcosmetic: GRAY_STAINED_GLASS_PANE pageback: ARROW pageforward: ARROW team-select: WHITE_WOOL vault: enable: true reward: kill: 5 win: 20 resources: gold: material: GOLD_INGOT color: GOLD name: Gold interval: 20 translate: resource_gold spread: 1.0 iron: material: IRON_INGOT color: GRAY name: Iron interval: 10 translate: resource_iron spread: 1.0 bronze: material: BRICK color: DARK_RED name: Bronze interval: 1 translate: resource_bronze spread: 1.0 respawn: protection-enabled: true protection-time: 10 specials: action-bar-messages: true rescue-platform: is-breakable: false delay: 0 break-time: 10 distance: 1 material: GLASS protection-wall: is-breakable: false delay: 20 break-time: 0 width: 5 height: 3 distance: 2 material: CUT_SANDSTONE tnt-sheep: speed: 0.25 follow-range: 10.0 max-target-distance: 32 explosion-time: 8 arrow-blocker: protection-time: 10 delay: 5 warp-powder: teleport-time: 6 delay: 0 magnet-shoes: probability: 75 golem: speed: 0.25 follow-range: 10 health: 20 name-format: '%teamcolor%%team% Golem' show-name: true delay: 0 collidable: false teamchest: turn-all-enderchests-to-teamchests: true throwable-fireball: explosion: 3.0 auto-igniteable-tnt: explosion-time: 8 damage-placer: true sounds: on_bed_destroyed: ENTITY_ENDER_DRAGON_GROWL on_countdown: UI_BUTTON_CLICK on_game_start: ENTITY_PLAYER_LEVELUP on_team_kill: ENTITY_PLAYER_LEVELUP on_player_kill: ENTITY_PLAYER_BIG_FALL on_item_buy: ENTITY_ITEM_PICKUP on_upgrade_buy: ENTITY_EXPERIENCE_ORB_PICKUP on_respawn_cooldown_wait: UI_BUTTON_CLICK on_respawn_cooldown_done: ENTITY_PLAYER_LEVELUP game-effects: end: effects:

xEPICAIDANx commented 3 years ago

Nevermind, problem has been solved. I was deleting the bronze generator that caused errors in counsel so I had keep it but not activate it.

Thanks!