turt2live

Untitled

Feb 26th, 2012
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.26 KB | None | 0 0
  1. # AntiShare Configuration:
  2. # Events:
  3. #   'block_place' - Blocks/items to deny for block placing
  4. #   'block_break' - Blocks/items to deny for block breaking
  5. #   'death' - Blocks/items to not allow to drop on death
  6. #   'drop_item' - Block/items to not allow to drop when a player presses (default) Q
  7. #   'interact' - Blocks/items to deny interactions to. (Left/Right click)
  8. #   'commands' - Commands to block, define a new command with a SPACE (defaults block '/somecommand' and '/anothercommand')
  9. #   -- Want all blocks/items to be denied? Put a *
  10. #   -- Want no blocks/items to be denied? Put: none
  11. #   -- Make sure item lists are space-seperated, not commas, periods, or fancy other things!
  12. #
  13. # Messages:
  14. #   All messages are when they are declined an action.
  15. #   Chat colors are supported using the & sign (eg: &f = white)
  16. #   If you wouldn't like a message to show, set the value as 'noshow'
  17. #
  18. # Other:
  19. #   'only_if_creative' - Auto-decline if they are in creative, permissions still apply.
  20. #       (eg: A player doesn't have the allow or decline permission to place, and is in creative, places a block: declined)
  21. #   'allow_eggs' - If false then eggs cannot be used (the ones that spawn mobs, like creepers)
  22. #   'inventory_swap' - If true then creative and survival inventories will be swapped
  23. #   'track_blocks' - If true then creative mode blocks will be tracked where only creative mode players can break them
  24. #                       (unless they have the permission "AntiShare.blockBypass")  
  25. #   'allow_bedrock' - If false then bedrock will never be broken or placed
  26. #   'pvp' - True if you want to allow creative players to hit other players ("AntiShare.pvp" to allow to specific players)
  27. #   'pvp-mobs' - True if you want to allow creative players to be able to hit mobs ("AntiShare.mobpvp" to allow to specific players)
  28. #   '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
  29. #                  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
  30. #                  'noBlockDrop' to the player once per second, or for every different block. As well, when the block is 100% broken it will show 'creativeModeBlock'.
  31. #   '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.
  32. #                     True means you can transfer TO the world, false means you cannot.
  33. #   'tracked-blocks' - The blocks the plugin should track and mark as "creative" blocks (if the player placing is in creative). This list is SPACE defined (see default)
  34. #                    You can set this to 'none' or '*' as well if you prefer, 'none' meaning don't track (set 'track_blocks' to false to reduce some possible lag), '*' meaning
  35. #                    track everything placed.
  36. #
  37. #   The following are affected by 'only_if_creative': 'allow_eggs', 'allow_bedrock', 'pvp', 'pvp-mobs', 'worldTransfer', and all the 'events'
  38. #   This means the above settings will check if they are in creative or not and act upon that
  39. # SQL:
  40. #   'use' - If this is false, flat-file storage will be used instead
  41. #   'host' - The SQL host, usually localhost
  42. #   'username' - The SQL username to use, this user must be able to create/edit/view tables in the database
  43. #   'password' - The SQL password for the above username
  44. #   'port' - The SQL port, this is unused thus far (will be used in later support)
  45. #   'database' - The SQL database to use, this must already be made
  46. #
  47. # Notifications:
  48. #   - Used to alert specific people of actions taking place
  49. #   'send' - True to send notifications, false otherwise
  50. #   'illegal' - All the illegal (blocked) actions, the name of the action relates to the action (eg: block_place means an illegal block was placed)
  51. #   'legal' - All the legal (allowed) actions, the name of the action relates to the action (eg: block_place means an legal block was placed)
  52. #   'general' - Everything else that doesn't fit into a category (illegal/legal)
  53. #  
  54. # Permissions:
  55. #   'AntiShare.*' - Deny all events
  56. #   'AntiShare.place' - Deny block placing
  57. #   'AntiShare.break' - Deny block breaking
  58. #   'AntiShare.death' - Deny item drops on death
  59. #   'AntiShare.drop' - Deny item dropping
  60. #   'AntiShare.interact' - Deny interactions
  61. #   'AntiShare.eggs' - Deny eggs that spawn mobs
  62. #   'AntiShare.commands' - Deny command usage (for specified commands)
  63. #   -- If you want to allow an event, change the node to 'AntiShare.allow' (eg: 'AntiShare.allow.place' would allow placing)
  64. #   'AntiShare.reload' - Permission to use /antishare
  65. #   'AntiShare.noswap' - If true, the player is exempt from inventory swapping, otherwise they will have their inventory switched
  66. #   'AntiShare.blockBypass' - If true, then the player can bypass the "Creative mode players can only break this block" message
  67. #                           - As well they can break a block and get drops if 'blockDrops' (under 'other') is true
  68. #   'AntiShare.freePlace' - If true, then the player can place a "creative-mode" block without it being registered as a "creative-mode" block
  69. #   'AntiShare.bedrock' - If true, then the player can break and place bedrock
  70. #   'AntiShare.pvp' - Allows PVP to a creative mode player
  71. #   'AntiShare.mobpvp' - Allows Mob PVP to a creative mode player
  72. #   'AntiShare.worlds' - Allows world teleporting without being blocked
  73. #   'AntiShare.notify' - Sends notifications to the player
  74. #   'AntiShare.silent' - Stops the sending of notifications from this player
  75. #   'AntiShare.admin' - Includes "AntiShare.allow.*", "AntiShare.reload", "AntiShare.blockBypass",
  76. #                         "AntiShare.freePlace", "AntiShare.bedrock", "AntiShare.pvp", "AntiShare.worlds",
  77. #                         "AntiShare.notify", "AntiShare.silent", and "AntiShare.mobpvp".
  78. #
  79. # Commands:
  80. #   '/antishare' - Reloads configuration
  81. #       Aliases: '/as', '/antis', '/ashare'
  82. #
  83. # Notes:
  84. #   - Permissions default to all deny as true while all allow as OP or higher.
  85. #   - 'only_if_creative' will override the permissions meaning if a player is in survival-mode while 'only_if_creative' is true then
  86. #     the deny permissions will be ignored (eg: That survival player places a block: it is placed)
  87. #   - The default settings decline interactions with furnaces, chests, dispensers, and chest-minecarts
  88. #   - The event 'block_break' is set to 'none' because in creative-mode, no blocks are dropped when broken
  89. #   - Messages support colors, use '&' to define a color. Eg: "&aWelcome!" will display "Welcome!" in green.
  90. #
  91. # World Transfer Help:
  92. #   Here is a table of values to show you what would happen depending on settings:
  93. #   ------------------------------------------------------------------------------
  94. #   | worldTransfers | only_if_creative |                  Result                |
  95. #   ------------------------------------------------------------------------------
  96. #   |      true      |       true       | All players can transfer worlds        |
  97. #   ------------------------------------------------------------------------------
  98. #   |      true      |       false      | All players can transfer worlds        |
  99. #   ------------------------------------------------------------------------------
  100. #   |      false     |       true       | Only creative mode players are blocked |
  101. #   ------------------------------------------------------------------------------
  102. #   |      false     |       false      | All players are blocked from transfers |
  103. #   ------------------------------------------------------------------------------
  104. events:
  105.   block_break: none
  106.   block_place: none
  107.   death: none
  108.   drop_item: none
  109.   interact: none
  110.   commands: none
  111. messages:
  112.   block_break: You can't do that!
  113.   block_place: You can't do that!
  114.   death: You can't do that!
  115.   drop_item: You can't do that!
  116.   interact: You can't do that!
  117.   eggs: You can't use the spawn eggs!
  118.   inventory_swap: Your inventory has been changed.
  119.   creativeModeBlock: You cannot break that block! It was placed by a creative mode player.
  120.   bedrock: You cannot play with bedrock!
  121.   pvp: You cannot hit other players!
  122.   mobpvp: You cannot hit mobs!
  123.   noBlockDrop: You will not get anything from breaking that!
  124.   illegalCommand: You cannot use that command!
  125.   worldSwap: You cannot transfer to that world!
  126. other:
  127.   only_if_creative: false
  128.   allow_eggs: true
  129.   inventory_swap: true
  130.   track_blocks: false
  131.   allow_bedrock: true
  132.   pvp: true
  133.   pvp-mobs: true
  134.   blockDrops: false
  135.   worldTransfer: true
  136.   tracked-blocks: none
  137. SQL:
  138.   use: false
  139.   host: localhost
  140.   username: AntiShare
  141.   password: AntiSharePW
  142.   port: 3306
  143.   database: AntiShare
  144. notifications:
  145.   send: false
  146.   illegal:
  147.     block_place: true
  148.     block_break: true
  149.     death: true
  150.     drop_item: true
  151.     interact: true
  152.     command: true
  153.     egg: true
  154.     creative_block_break: true
  155.     pvp: true
  156.     mob-pvp: true
  157.     bedrock_attempt: true
  158.     world_transfer: true
  159.   legal:
  160.     block_place: false
  161.     block_break: false
  162.     death: false
  163.     drop_item: false
  164.     interact: false
  165.     command: false
  166.     egg: false
  167.     creative_block_break: false
  168.     pvp: false
  169.     mob-pvp: false
  170.     bedrock_attempt: false
  171.     world_transfer: false
  172.   general:
  173.     gamemode_change: false
Advertisement
Add Comment
Please, Sign In to add comment