Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # AntiShare Configuration:
- # Events:
- # 'block_place' - Blocks/items to deny for block placing
- # 'block_break' - Blocks/items to deny for block breaking
- # 'death' - Blocks/items to not allow to drop on death
- # 'drop_item' - Block/items to not allow to drop when a player presses (default) Q
- # 'interact' - Blocks/items to deny interactions to. (Left/Right click)
- # 'commands' - Commands to block, define a new command with a comma (defaults block '/somecommand' and '/anothercommand')
- # -- Want all blocks/items to be denied? Put a *
- # -- Want no blocks/items to be denied? Put: none
- # -- Make sure item lists are comma-separated, not spaces, periods, or fancy other things!
- # -- Commands do not support 'none' and '*' flags, as well they do not need the '/'
- # -- Commands are checked where if the command sent starts with the command in the list, so
- # if you were to block '/item' then if someone typed '/item 2', they would be blocked.
- # -- Commands are checked before any other plugin (including AntiShare) can even handle it, so permissions are NOT checked.
- # -- WHITELISTING: If you would like a whitelist function instead, simply put "whitelist" at the front of your list, for example:
- # block_place: whitelist,1,2,3
- # The above sample would ONLY allow blocks with the id's 1, 2, or 3 to be placed.
- #
- # Messages:
- # - All messages are when they are declined an action.
- # - If you wouldn't like a message to show, set the value as 'noshow'
- # - All messages support chat colors (and formats):
- # &0 = BLACK &1 = DARK BLUE
- # &2 = DARK GREEN &3 = DARK AQUA
- # &4 = DARK RED &5 = DARK PURPLE
- # &6 = GOLD &7 = GRAY
- # &8 = DARK GRAY &9 = BLUE
- # &a = GREEN &b = AQUA
- # &c = RED &d = LIGHT PURPLE
- # &e = YELLOW &f = WHITE
- # Note: MAGIC is simply random characters
- # &k = MAGIC &l = BOLD
- # &m = STRIKE &n = UNDERLINE
- # &o = ITALIC &r = RESET (remove formatting, reset to WHITE)
- #
- # Hazards:
- # 'allow_eggs' - If false then eggs cannot be used (both 'mob-spawning' and chicken eggs are covered by this)
- # 'allow_exp_bottle' - Allows the experience bottle, set to false to block
- # 'allow_bedrock' - If false then bedrock will never be broken or placed
- # 'allow_buckets' - Allows use of buckets (water and lava)
- # 'allow_fire_charge' - Allows use of the fire charge
- # 'allow_flint' - Allows use of Flint and Tinder (also blocks use of the Fire block)
- # 'allow_tnt' - Allows placement of TNT
- # 'tnt_explosions' - Global switch for allowing TNT to explode if the TNT placed was by a player who is not allowed to get drops
- # Set this to FALSE if you want explosions to be tracked and monitored (see "TNT Explosions" towards the end of this header)
- # 'region_items' - Would you like to deny people being able to pickup/throw items into regions not of their own? (false = deny, true = allow)
- #
- # Other:
- # 'only_if_creative' - Auto-decline if they are in creative, permissions still apply.
- # (eg: A player doesn't have the allow or decline permission to place, and is in creative, places a block: declined)
- # For per-player support, set the permission "AntiShare.onlyIfCreative". See the permissions section for more information
- # 'inventory_swap' - If true then creative and survival inventories will be swapped
- # 'track_blocks' - If true then creative/survival mode blocks will be tracked where only creative/survival mode players can break them
- # (unless they have the permission "AntiShare.blockBypass")
- # 'pvp' - True if you want to allow creative players to hit other players ("AntiShare.pvp" to allow to specific players)
- # 'pvp-mobs' - True if you want to allow creative players to be able to hit mobs ("AntiShare.mobpvp" to allow to specific players)
- # 'blockDrops' - Only works if 'track_blocks' is in effect. If true, you allow allow the creative-mode block to be broken, but no drops will be produced
- # If false, you don't allow the block to be broken (1.0.6 and prior default). While breaking (if this is true) AntiShare sends the message
- # 'noBlockDrop' to the player once per second, or for every different block. As well, when the block is 100% broken it will show 'creativeModeBlock'.
- # 'worldTransfer' - True if you would like to allow players to transfer worlds. See the section towards the end of this documentation labeled "world transfer information" for help.
- # True means you can transfer TO the world, false means you cannot.
- # 'worlds-ignore-survival' - Set to true if the world transfer settings should be ignored for survival players.
- # 'tracked-blocks-creative' - A list (or '*' for all, 'none' for none) of blocks to track. Make sure 'track_blocks' is true if you want to use this list! This list is comma-separated.
- # 'tracked-blocks-survival' - A list (or '*' for all, 'none' for none) of blocks to track. Make sure 'track_blocks' is true if you want to use this list! This list is comma-separated.
- # -- For 'tracked blocks', if you would like to track all blocks except X, simply add a '-' sign to the list, for example:
- # tracked-blocks-creative: '*,-1'
- # The above sample would track all blocks placed by creative players except Stone (item ID 1).
- # Note: The list is handled in order, so '-1,*' actually means '*'.
- #
- # The following are affected by 'only_if_creative': 'pvp', 'pvp-mobs', 'worldTransfer', all the 'hazards', and all the 'events'
- # This means the above settings will check if they are in creative or not and act upon that
- #
- # Settings:
- # 'save-interval' - This is the interval, in minutes, you want AntiShare to save it's data to disk (default is 30 minutes)
- # 'send-use-info' - Set to false to stop sending usage stats to turt2live. (What stats are sent is explained later)
- # 'debug-override' - If true, you override the hardcoded debug value with "true". This is strongly recommended to stay as "false"
- # 'ignore-conflict-warning' - If true, AntiShare will stop spamming that there is a conflict
- # SQL:
- # 'use' - If this is false, flat-file storage will be used instead
- # 'host' - The SQL host, usually localhost
- # 'username' - The SQL username to use, this user must be able to create/edit/view tables in the database
- # 'password' - The SQL password for the above username
- # 'database' - The SQL database to use, this must already be made
- #
- # Notifications:
- # - Used to alert specific people of actions taking place
- # 'send' - True to send notifications, false otherwise
- # 'console' - True to alert the console (default), false to be quieter.
- # 'illegal' - All the illegal (blocked) actions, the name of the action relates to the action (eg: block_place means an illegal block was placed)
- # 'legal' - All the legal (allowed) actions, the name of the action relates to the action (eg: block_place means an legal block was placed)
- # 'general' - Everything else that doesn't fit into a category (illegal/legal)
- # - Note: region_enter/exit is affected by a region's 'Show Message' property, you can read about these messages a bit further down
- # - "drop_item_to_region" is fired when someone drops an item into a region (stands outside region border and throws the item into the region)
- #
- # Permissions:
- # 'AntiShare.allow.*' - Allow all events
- # 'AntiShare.allow.place' - Allow block placing
- # 'AntiShare.allow.break' - Allow block breaking
- # 'AntiShare.allow.death' - Allow item drops on death
- # 'AntiShare.allow.drop' - Allow item dropping
- # 'AntiShare.allow.interact' - Allow interactions
- # 'AntiShare.allow.eggs' - Allow eggs that spawn mobs
- # 'AntiShare.allow.commands' - Allow command usage (for specified commands)
- # 'AntiShare.allow.exp' - Allows use of the exp bottle
- # 'AntiShare.allow.expGain' - Allows gaining of exp
- # 'AntiShare.allow.bedrock' - If true, then the player can break and place bedrock
- # 'AntiShare.allow.pvp' - Allows PVP to a creative mode player
- # 'AntiShare.allow.mobpvp' - Allows Mob PVP to a creative mode player
- # 'AntiShare.allow.worlds' - Allows world teleporting without being blocked, also stops multi-world inventories for the target
- # 'AntiShare.allow.firecharge' - Allows use of the Fire Charge item
- # 'AntiShare.allow.tnt' - Allows placement of TNT
- # 'AntiShare.allow.flint' - Allows use of Flint and Steel and the Fire block
- # 'AntiShare.allow.buckets' - Allows use of Lava and Water Buckets
- # 'AntiShare.allow.explosions' - Allows this player's TNT to always explode with drops
- # ** If you would like to deny an event, set the node to false (all 'allow' nodes have a default of 'OP')
- # ** By default, AntiShare assumes "Deny" on all creative mode players (or all players if 'onlyIfCreative' is set to false)
- # 'AntiShare.onlyIfCreative' - Only deny actions if the player is in creative mode, false to deny regardless of Game Mode (this is default FALSE)
- # 'AntiShare.onlyIfCreative.global' - Uses the configuration value and overrides the 'AntiShare.onlyIfCreative' permission (this is default TRUE)
- # 'AntiShare.reload' - Permission to use /antishare reload
- # 'AntiShare.regions' - Permission to set/edit/remove/list GameMode Regions
- # 'AntiShare.roam' - If set as true, the target can roam through regions without having their gamemode change
- # 'AntiShare.noswap' - If true, the player is exempt from inventory swapping, otherwise they will have their inventory switched
- # 'AntiShare.blockBypass' - If true, then the player can bypass the "Creative/Survival mode players can only break this block" message
- # - As well they can break a block and get drops if 'blockDrops' (under 'other') is true
- # 'AntiShare.freePlace' - If true, then the player can place a "creative-mode" or "survival-mode" block without it being registered as a "creative-mode" or "survival-mode" block
- # 'AntiShare.notify' - Sends notifications to the player
- # 'AntiShare.silent' - Stops the sending of notifications from this player
- # 'AntiShare.mirror' - Allows viewing of inventories
- # 'AntiShare.gamemode' - Allows use of /gm
- # 'AntiShare.gamemode.others' - Allows use of /gm <player> [mode]
- # 'AntiShare.admin' - Includes "AntiShare.allow.*", "AntiShare.reload", "AntiShare.regions", "AntiShare.roam", "AntiShare.blockBypass",
- # "AntiShare.freePlace", "AntiShare.bedrock", "AntiShare.pvp", "AntiShare.worlds", "AntiShare.notify", "AntiShare.silent",
- # "AntiShare.mirror", "AntiShare.gamemode", "AntiShare.gamemode.others", and "AntiShare.mobpvp".
- #
- # Commands:
- # '/antishare'
- # Aliases: '/as', '/antis', '/ashare'
- # '/as help' - Displays command usage
- # '/as reload' - Reloads configuration
- # '/as region <gamemode> <name>' - Sets your currently selected WorldEdit region as a GameMode Region and names the region
- # '/as rmregion' - Removes the GameMode region you are in
- # '/as rmregion <name>' - Removes a region by name (console friendly)
- # '/as editregion <name> <key> <value>' - Set various properties of a region, see below for help
- # '/as listregions' - List the regions available
- # '/as listregions #' - List the regions by page
- # '/as mirror <player>' - Mirror <player>'s inventory. Partial names are allowed (eg: turt instead of turt2live)
- # '/gm' - Toggle gamemode
- # '/gm c' - Creative mode
- # '/gm s' - Survival mode
- #
- # Notes:
- # - Permissions default to all deny as true while all allow as OP or higher.
- # - 'only_if_creative' will override the permissions meaning if a player is in survival-mode while 'only_if_creative' is true then
- # the deny permissions will be ignored (eg: That survival player places a block: it is placed)
- # - The default settings decline interactions with furnaces, chests, dispensers, and chest-minecarts
- # - The event 'block_break' is set to 'none' because in creative-mode, no blocks are dropped when broken
- # - Messages support colors, use '&' to define a color. Eg: "&aWelcome!" will display "Welcome!" in green.
- # - By default, the 'onlyIfCreative' permissions mirror the default configuration (to avoid breaking)
- #
- # World Transfer Help:
- # Here is a table of values to show you what would happen depending on settings:
- # If a world manager is detected (like Multiverse), AnitShare will not do anything to avoid conflict (regardless of settings)
- # ------------------------------------------------------------------------------
- # | worldTransfers | only_if_creative | Result |
- # ------------------------------------------------------------------------------
- # | true | true | All players can transfer worlds |
- # ------------------------------------------------------------------------------
- # | true | false | All players can transfer worlds |
- # ------------------------------------------------------------------------------
- # | false | true | Only creative mode players are blocked |
- # ------------------------------------------------------------------------------
- # | false | false | All players are blocked from transfers |
- # ------------------------------------------------------------------------------
- #
- # WHAT IS A GAMEMODE REGION?
- # A GameMode region is a WorldEdit region where a player automatically changes GameModes. Upon leaving their GameMode is restored.
- # All the same functions apply, such as inventory changes, blocks, etc. You can configure the region to have properties like a
- # a specific inventory to be given to the player upon entry, or to let the player know when they enter/leave the area. All of the
- # options are configurable in-game using /as editregion. Type /as editregion <region name> <key> <value> to set a property.
- #
- # KEYS AND VALUES (with explanations):
- # Note: Keys are case in-sensitive
- # -------------------------------------------------------------------------------------------------------------
- # | KEY | POSSIBLE VALUES | DESCRIPTION |
- # -------------------------------------------------------------------------------------------------------------
- # | name | <a name> | Sets the name of the region |
- # -------------------------------------------------------------------------------------------------------------
- # | ShowEnterMessage | true/false | Set to true to enable the 'onEnter message' |
- # -------------------------------------------------------------------------------------------------------------
- # | ShowExitMessage | true/false | Set to true to enable the 'onExit message' |
- # -------------------------------------------------------------------------------------------------------------
- # | | | Sets the region's inventory; 'none' to stop the changing |
- # | inventory | 'none'/'set' | of inventories, 'set' to set the region's inventory to |
- # | | | mirror yours. 'set' cannot be done from console, 'none' can. |
- # -------------------------------------------------------------------------------------------------------------
- # | gamemode | 'creative'/'surival' | Sets the gamemode of the region |
- # -------------------------------------------------------------------------------------------------------------
- # | area | No Value | No value required; Sets the area of the region to your current |
- # | | | WorldEdit selection. |
- # -------------------------------------------------------------------------------------------------------------
- #
- # What is sent in usage statistics?
- # - Plugin Version
- # - CraftBukkit Version
- #
- # TNT Explosions:
- # - These are when a player (without the allow node or is met by the conditions of only if creative) places
- # a TNT block and when that block explodes it doesn't drop anything, but still causes damage.
- # - NOTE: Due to a CraftBukkit restriction, this is not in play until a later release. Sorry!!
- events:
- block_break: none
- block_place: 57,41,42
- death: '*'
- drop_item: '*'
- interact: 23,61,62,54,342
- commands: /somecommand,/anothercommand
- messages:
- block_break: You cannot do that!
- block_place: You cannot do that!
- death: You cannot do that!
- drop_item: You cannot do that!
- interact: You cannot do that!
- eggs: You cannot use eggs!
- exp_bottle: You cannot use experience bottles!
- inventory_swap: Your inventory has been changed.
- creativeModeBlock: You cannot break that block! It was placed by a creative mode player.
- survivalModeBlock: You cannot break that block! It was placed by a survival mode player.
- bedrock: You cannot play with bedrock!
- pvp: You cannot hit other players!
- mobpvp: You cannot hit mobs!
- noBlockDrop: You will not get anything from breaking that!
- illegalCommand: You cannot use that command!
- worldSwap: You cannot transfer to that world!
- bucket: You cannot use buckets!
- flint: You cannot use fire!
- tnt: You cannot use TNT!
- fire_charge: You cannot use the Fire Charge!
- hazards:
- allow_eggs: false
- allow_exp_bottle: false
- allow_bedrock: false
- allow_buckets: false
- allow_fire_charge: false
- allow_flint: false
- allow_tnt: false
- tnt_explosions: false
- region_items: false
- other:
- only_if_creative: true
- inventory_swap: true
- track_blocks: true
- pvp: false
- pvp-mobs: false
- blockDrops: false
- worldTransfer: false
- worlds-ignore-survival: true
- tracked-blocks-creative: '*'
- tracked-blocks-survival: '*'
- SQL:
- use: false
- host: localhost
- username: AntiShare
- password: AntiSharePW
- database: AntiShare
- settings:
- save-interval: 30
- send-use-info: true
- debug-override: false
- ignore-conflict-warning: false
- notifications:
- send: true
- console: true
- illegal:
- block_place: true
- block_break: true
- death: true
- drop_item: true
- interact: true
- command: true
- egg: true
- exp_bottle: true
- creative_block_break: true
- survival_block_break: true
- pvp: true
- mob-pvp: true
- bedrock_attempt: true
- world_transfer: true
- fire_charge: true
- fire: true
- bucket: true
- tnt-place: true
- region_item: true
- legal:
- block_place: false
- block_break: false
- death: false
- drop_item: false
- interact: false
- command: false
- egg: false
- exp_bottle: false
- creative_block_break: false
- survival_block_break: false
- pvp: false
- mob-pvp: false
- bedrock_attempt: false
- world_transfer: false
- fire_charge: false
- fire: false
- bucket: false
- tnt-place: false
- region_item: false
- general:
- gamemode_change: false
- region_enter: false
- region_exit: false
- tnt_creative_explosion: false
Advertisement
Add Comment
Please, Sign In to add comment