Settings

Settings

Release 0.9

There are currently many options for configuring AntiDrops, these can be found in the settings.yml and the worlds.yml files. These files along with a inventories.yml file are generated when you first run the server.

settings.yml

config:
  version: 0.6
creative-only: true
deny-drops: true
bypass:
  use: true
  opsbypass: true
  permission: antidrops.bypass
block:
  creative:
    chest-use: true
    death-drops: true
    signs: false
  survival:
    death-drops: false
  adventure:
    death-drops: false
dev:
  debug: true
remove-item: false
deny-pickup: true
no-block-drops: false
separate-inventories: true
chests:
  read-only:
    allow: true
    permission: antidrops.chests.read-only
  • version: This is used to update the config file, do not touch this setting.
  • creative-only: Limits all AntiDrop's settings to players in creative mode only.
  • deny-drops: Blocks players from dropping items.
  • bypass: -- use: Use the bypass permission. This bypasses everything, not just drops. -- opsbypass: If use: true, OPs will automatically have the bypass permission. -- permission: The permission for bypassing antidrops.
  • block: -- Gamemode: --- chest-use (creative only): Prevent players in creative using chests (Must be true for readonly chests to work). --- death-drops: Prevent players dropping their items on death. The items are not saved, they are destroyed. This is to prevent lag. --- signs (creative only): Prevent players in creative interacting with signs (commerce for examples).
  • dev: -- debug: Prints debug messages to the console
  • remove-item: When a player tries to drop an item and AntiDrops stops them, should the item be removed from their inventory.
  • deny-pickup: Prevents players from picking up items (only players Antidrops applies to).
  • no-block-drops: Prevents blocks dropping items when broken, (only players Antidrops applies to).
  • separate-inventories: When true, players have separate inventories for each game mode.
  • chests: -- read-only: --- allow: Should players with the permission have read only access to chests instead if they are blocked. --- permission: The permission for allowing read only access to blocked chests.

worlds.yml

config:
  version: 0.2
worlds:
- ignoredworld
- alsoignored
  • version: This is used to update the config file, do not touch this setting.
  • worlds: List the worlds that should be ignored by antidrops here.

Comments

Posts Quoted:
Reply
Clear All Quotes