Guest User

Untitled

a guest
Apr 28th, 2012
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.12 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 comma (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 comma-separated, not spaces, periods, or fancy other things!
  12. # -- Commands do not support 'none' and '*' flags, as well they do not need the '/'
  13. # -- Commands are checked where if the command sent starts with the command in the list, so
  14. # if you were to block '/item' then if someone typed '/item 2', they would be blocked.
  15. # -- Commands are checked before any other plugin (including AntiShare) can even handle it, so permissions are NOT checked.
  16. # -- WHITELISTING: If you would like a whitelist function instead, simply put "whitelist" at the front of your list, for example:
  17. # block_place: whitelist,1,2,3
  18. # The above sample would ONLY allow blocks with the id's 1, 2, or 3 to be placed.
  19. #
  20. # Messages:
  21. # - All messages are when they are declined an action.
  22. # - If you wouldn't like a message to show, set the value as 'noshow'
  23. # - All messages support chat colors (and formats):
  24. # &0 = BLACK &1 = DARK BLUE
  25. # &2 = DARK GREEN &3 = DARK AQUA
  26. # &4 = DARK RED &5 = DARK PURPLE
  27. # &6 = GOLD &7 = GRAY
  28. # &8 = DARK GRAY &9 = BLUE
  29. # &a = GREEN &b = AQUA
  30. # &c = RED &d = LIGHT PURPLE
  31. # &e = YELLOW &f = WHITE
  32. # Note: MAGIC is simply random characters
  33. # &k = MAGIC &l = BOLD
  34. # &m = STRIKE &n = UNDERLINE
  35. # &o = ITALIC &r = RESET (remove formatting, reset to WHITE)
  36. #
  37. # Hazards:
  38. # 'allow_eggs' - If false then eggs cannot be used (both 'mob-spawning' and chicken eggs are covered by this)
  39. # 'allow_exp_bottle' - Allows the experience bottle, set to false to block
  40. # 'allow_bedrock' - If false then bedrock will never be broken or placed
  41. # 'allow_buckets' - Allows use of buckets (water and lava)
  42. # 'allow_fire_charge' - Allows use of the fire charge
  43. # 'allow_flint' - Allows use of Flint and Tinder (also blocks use of the Fire block)
  44. # 'allow_tnt' - Allows placement of TNT
  45. # 'tnt_explosions' - Global switch for allowing TNT to explode if the TNT placed was by a player who is not allowed to get drops
  46. # Set this to FALSE if you want explosions to be tracked and monitored (see "TNT Explosions" towards the end of this header)
  47. # 'region_items' - Would you like to deny people being able to pickup/throw items into regions not of their own? (false = deny, true = allow)
  48. #
  49. # Other:
  50. # 'only_if_creative' - Auto-decline if they are in creative, permissions still apply.
  51. # (eg: A player doesn't have the allow or decline permission to place, and is in creative, places a block: declined)
  52. # For per-player support, set the permission "AntiShare.onlyIfCreative". See the permissions section for more information
  53. # 'inventory_swap' - If true then creative and survival inventories will be swapped
  54. # 'track_blocks' - If true then creative/survival mode blocks will be tracked where only creative/survival mode players can break them
  55. # (unless they have the permission "AntiShare.blockBypass")
  56. # 'pvp' - True if you want to allow creative players to hit other players ("AntiShare.pvp" to allow to specific players)
  57. # 'pvp-mobs' - True if you want to allow creative players to be able to hit mobs ("AntiShare.mobpvp" to allow to specific players)
  58. # '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
  59. # 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
  60. # 'noBlockDrop' to the player once per second, or for every different block. As well, when the block is 100% broken it will show 'creativeModeBlock'.
  61. # '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.
  62. # True means you can transfer TO the world, false means you cannot.
  63. # 'worlds-ignore-survival' - Set to true if the world transfer settings should be ignored for survival players.
  64. # '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.
  65. # '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.
  66. # -- For 'tracked blocks', if you would like to track all blocks except X, simply add a '-' sign to the list, for example:
  67. # tracked-blocks-creative: '*,-1'
  68. # The above sample would track all blocks placed by creative players except Stone (item ID 1).
  69. # Note: The list is handled in order, so '-1,*' actually means '*'.
  70. #
  71. # The following are affected by 'only_if_creative': 'pvp', 'pvp-mobs', 'worldTransfer', all the 'hazards', and all the 'events'
  72. # This means the above settings will check if they are in creative or not and act upon that
  73. #
  74. # Settings:
  75. # 'save-interval' - This is the interval, in minutes, you want AntiShare to save it's data to disk (default is 30 minutes)
  76. # 'send-use-info' - Set to false to stop sending usage stats to turt2live. (What stats are sent is explained later)
  77. # 'debug-override' - If true, you override the hardcoded debug value with "true". This is strongly recommended to stay as "false"
  78. # 'ignore-conflict-warning' - If true, AntiShare will stop spamming that there is a conflict
  79. # SQL:
  80. # 'use' - If this is false, flat-file storage will be used instead
  81. # 'host' - The SQL host, usually localhost
  82. # 'username' - The SQL username to use, this user must be able to create/edit/view tables in the database
  83. # 'password' - The SQL password for the above username
  84. # 'database' - The SQL database to use, this must already be made
  85. #
  86. # Notifications:
  87. # - Used to alert specific people of actions taking place
  88. # 'send' - True to send notifications, false otherwise
  89. # 'console' - True to alert the console (default), false to be quieter.
  90. # 'illegal' - All the illegal (blocked) actions, the name of the action relates to the action (eg: block_place means an illegal block was placed)
  91. # 'legal' - All the legal (allowed) actions, the name of the action relates to the action (eg: block_place means an legal block was placed)
  92. # 'general' - Everything else that doesn't fit into a category (illegal/legal)
  93. # - Note: region_enter/exit is affected by a region's 'Show Message' property, you can read about these messages a bit further down
  94. # - "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)
  95. #
  96. # Permissions:
  97. # 'AntiShare.allow.*' - Allow all events
  98. # 'AntiShare.allow.place' - Allow block placing
  99. # 'AntiShare.allow.break' - Allow block breaking
  100. # 'AntiShare.allow.death' - Allow item drops on death
  101. # 'AntiShare.allow.drop' - Allow item dropping
  102. # 'AntiShare.allow.interact' - Allow interactions
  103. # 'AntiShare.allow.eggs' - Allow eggs that spawn mobs
  104. # 'AntiShare.allow.commands' - Allow command usage (for specified commands)
  105. # 'AntiShare.allow.exp' - Allows use of the exp bottle
  106. # 'AntiShare.allow.expGain' - Allows gaining of exp
  107. # 'AntiShare.allow.bedrock' - If true, then the player can break and place bedrock
  108. # 'AntiShare.allow.pvp' - Allows PVP to a creative mode player
  109. # 'AntiShare.allow.mobpvp' - Allows Mob PVP to a creative mode player
  110. # 'AntiShare.allow.worlds' - Allows world teleporting without being blocked, also stops multi-world inventories for the target
  111. # 'AntiShare.allow.firecharge' - Allows use of the Fire Charge item
  112. # 'AntiShare.allow.tnt' - Allows placement of TNT
  113. # 'AntiShare.allow.flint' - Allows use of Flint and Steel and the Fire block
  114. # 'AntiShare.allow.buckets' - Allows use of Lava and Water Buckets
  115. # 'AntiShare.allow.explosions' - Allows this player's TNT to always explode with drops
  116. # ** If you would like to deny an event, set the node to false (all 'allow' nodes have a default of 'OP')
  117. # ** By default, AntiShare assumes "Deny" on all creative mode players (or all players if 'onlyIfCreative' is set to false)
  118. # 'AntiShare.onlyIfCreative' - Only deny actions if the player is in creative mode, false to deny regardless of Game Mode (this is default FALSE)
  119. # 'AntiShare.onlyIfCreative.global' - Uses the configuration value and overrides the 'AntiShare.onlyIfCreative' permission (this is default TRUE)
  120. # 'AntiShare.reload' - Permission to use /antishare reload
  121. # 'AntiShare.regions' - Permission to set/edit/remove/list GameMode Regions
  122. # 'AntiShare.roam' - If set as true, the target can roam through regions without having their gamemode change
  123. # 'AntiShare.noswap' - If true, the player is exempt from inventory swapping, otherwise they will have their inventory switched
  124. # 'AntiShare.blockBypass' - If true, then the player can bypass the "Creative/Survival mode players can only break this block" message
  125. # - As well they can break a block and get drops if 'blockDrops' (under 'other') is true
  126. # '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
  127. # 'AntiShare.notify' - Sends notifications to the player
  128. # 'AntiShare.silent' - Stops the sending of notifications from this player
  129. # 'AntiShare.mirror' - Allows viewing of inventories
  130. # 'AntiShare.gamemode' - Allows use of /gm
  131. # 'AntiShare.gamemode.others' - Allows use of /gm <player> [mode]
  132. # 'AntiShare.admin' - Includes "AntiShare.allow.*", "AntiShare.reload", "AntiShare.regions", "AntiShare.roam", "AntiShare.blockBypass",
  133. # "AntiShare.freePlace", "AntiShare.bedrock", "AntiShare.pvp", "AntiShare.worlds", "AntiShare.notify", "AntiShare.silent",
  134. # "AntiShare.mirror", "AntiShare.gamemode", "AntiShare.gamemode.others", and "AntiShare.mobpvp".
  135. #
  136. # Commands:
  137. # '/antishare'
  138. # Aliases: '/as', '/antis', '/ashare'
  139. # '/as help' - Displays command usage
  140. # '/as reload' - Reloads configuration
  141. # '/as region <gamemode> <name>' - Sets your currently selected WorldEdit region as a GameMode Region and names the region
  142. # '/as rmregion' - Removes the GameMode region you are in
  143. # '/as rmregion <name>' - Removes a region by name (console friendly)
  144. # '/as editregion <name> <key> <value>' - Set various properties of a region, see below for help
  145. # '/as listregions' - List the regions available
  146. # '/as listregions #' - List the regions by page
  147. # '/as mirror <player>' - Mirror <player>'s inventory. Partial names are allowed (eg: turt instead of turt2live)
  148. # '/gm' - Toggle gamemode
  149. # '/gm c' - Creative mode
  150. # '/gm s' - Survival mode
  151. #
  152. # Notes:
  153. # - Permissions default to all deny as true while all allow as OP or higher.
  154. # - 'only_if_creative' will override the permissions meaning if a player is in survival-mode while 'only_if_creative' is true then
  155. # the deny permissions will be ignored (eg: That survival player places a block: it is placed)
  156. # - The default settings decline interactions with furnaces, chests, dispensers, and chest-minecarts
  157. # - The event 'block_break' is set to 'none' because in creative-mode, no blocks are dropped when broken
  158. # - Messages support colors, use '&' to define a color. Eg: "&aWelcome!" will display "Welcome!" in green.
  159. # - By default, the 'onlyIfCreative' permissions mirror the default configuration (to avoid breaking)
  160. #
  161. # World Transfer Help:
  162. # Here is a table of values to show you what would happen depending on settings:
  163. # If a world manager is detected (like Multiverse), AnitShare will not do anything to avoid conflict (regardless of settings)
  164. # ------------------------------------------------------------------------------
  165. # | worldTransfers | only_if_creative | Result |
  166. # ------------------------------------------------------------------------------
  167. # | true | true | All players can transfer worlds |
  168. # ------------------------------------------------------------------------------
  169. # | true | false | All players can transfer worlds |
  170. # ------------------------------------------------------------------------------
  171. # | false | true | Only creative mode players are blocked |
  172. # ------------------------------------------------------------------------------
  173. # | false | false | All players are blocked from transfers |
  174. # ------------------------------------------------------------------------------
  175. #
  176. # WHAT IS A GAMEMODE REGION?
  177. # A GameMode region is a WorldEdit region where a player automatically changes GameModes. Upon leaving their GameMode is restored.
  178. # All the same functions apply, such as inventory changes, blocks, etc. You can configure the region to have properties like a
  179. # 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
  180. # options are configurable in-game using /as editregion. Type /as editregion <region name> <key> <value> to set a property.
  181. #
  182. # KEYS AND VALUES (with explanations):
  183. # Note: Keys are case in-sensitive
  184. # -------------------------------------------------------------------------------------------------------------
  185. # | KEY | POSSIBLE VALUES | DESCRIPTION |
  186. # -------------------------------------------------------------------------------------------------------------
  187. # | name | <a name> | Sets the name of the region |
  188. # -------------------------------------------------------------------------------------------------------------
  189. # | ShowEnterMessage | true/false | Set to true to enable the 'onEnter message' |
  190. # -------------------------------------------------------------------------------------------------------------
  191. # | ShowExitMessage | true/false | Set to true to enable the 'onExit message' |
  192. # -------------------------------------------------------------------------------------------------------------
  193. # | | | Sets the region's inventory; 'none' to stop the changing |
  194. # | inventory | 'none'/'set' | of inventories, 'set' to set the region's inventory to |
  195. # | | | mirror yours. 'set' cannot be done from console, 'none' can. |
  196. # -------------------------------------------------------------------------------------------------------------
  197. # | gamemode | 'creative'/'surival' | Sets the gamemode of the region |
  198. # -------------------------------------------------------------------------------------------------------------
  199. # | area | No Value | No value required; Sets the area of the region to your current |
  200. # | | | WorldEdit selection. |
  201. # -------------------------------------------------------------------------------------------------------------
  202. #
  203. # What is sent in usage statistics?
  204. # - Plugin Version
  205. # - CraftBukkit Version
  206. #
  207. # TNT Explosions:
  208. # - These are when a player (without the allow node or is met by the conditions of only if creative) places
  209. # a TNT block and when that block explodes it doesn't drop anything, but still causes damage.
  210. # - NOTE: Due to a CraftBukkit restriction, this is not in play until a later release. Sorry!!
  211. events:
  212. block_break: none
  213. block_place: 57,41,42
  214. death: '*'
  215. drop_item: '*'
  216. interact: 23,61,62,54,342
  217. commands: /somecommand,/anothercommand
  218. messages:
  219. block_break: You cannot do that!
  220. block_place: You cannot do that!
  221. death: You cannot do that!
  222. drop_item: You cannot do that!
  223. interact: You cannot do that!
  224. eggs: You cannot use eggs!
  225. exp_bottle: You cannot use experience bottles!
  226. inventory_swap: Your inventory has been changed.
  227. creativeModeBlock: You cannot break that block! It was placed by a creative mode player.
  228. survivalModeBlock: You cannot break that block! It was placed by a survival mode player.
  229. bedrock: You cannot play with bedrock!
  230. pvp: You cannot hit other players!
  231. mobpvp: You cannot hit mobs!
  232. noBlockDrop: You will not get anything from breaking that!
  233. illegalCommand: You cannot use that command!
  234. worldSwap: You cannot transfer to that world!
  235. bucket: You cannot use buckets!
  236. flint: You cannot use fire!
  237. tnt: You cannot use TNT!
  238. fire_charge: You cannot use the Fire Charge!
  239. hazards:
  240. allow_eggs: false
  241. allow_exp_bottle: false
  242. allow_bedrock: false
  243. allow_buckets: false
  244. allow_fire_charge: false
  245. allow_flint: false
  246. allow_tnt: false
  247. tnt_explosions: false
  248. region_items: false
  249. other:
  250. only_if_creative: true
  251. inventory_swap: true
  252. track_blocks: true
  253. pvp: false
  254. pvp-mobs: false
  255. blockDrops: false
  256. worldTransfer: false
  257. worlds-ignore-survival: true
  258. tracked-blocks-creative: '*'
  259. tracked-blocks-survival: '*'
  260. SQL:
  261. use: false
  262. host: localhost
  263. username: AntiShare
  264. password: AntiSharePW
  265. database: AntiShare
  266. settings:
  267. save-interval: 30
  268. send-use-info: true
  269. debug-override: false
  270. ignore-conflict-warning: false
  271. notifications:
  272. send: true
  273. console: true
  274. illegal:
  275. block_place: true
  276. block_break: true
  277. death: true
  278. drop_item: true
  279. interact: true
  280. command: true
  281. egg: true
  282. exp_bottle: true
  283. creative_block_break: true
  284. survival_block_break: true
  285. pvp: true
  286. mob-pvp: true
  287. bedrock_attempt: true
  288. world_transfer: true
  289. fire_charge: true
  290. fire: true
  291. bucket: true
  292. tnt-place: true
  293. region_item: true
  294. legal:
  295. block_place: false
  296. block_break: false
  297. death: false
  298. drop_item: false
  299. interact: false
  300. command: false
  301. egg: false
  302. exp_bottle: false
  303. creative_block_break: false
  304. survival_block_break: false
  305. pvp: false
  306. mob-pvp: false
  307. bedrock_attempt: false
  308. world_transfer: false
  309. fire_charge: false
  310. fire: false
  311. bucket: false
  312. tnt-place: false
  313. region_item: false
  314. general:
  315. gamemode_change: false
  316. region_enter: false
  317. region_exit: false
  318. tnt_creative_explosion: false
Advertisement
Add Comment
Please, Sign In to add comment