############# TOWNY ANTI-GRIEF ##################### Designed by: CaptainThrills (With credits to ElgarL for making Towny)# When finished editing config run /tag reload in game. Ensure to not mess it up and if you need help be detailed!# Set a unique prefix to use (Do not use color codes -> they wont work)prefix:'[TownyAG]'# Log Folder namelogFolderName:'logs'# Block Message (Color codes allowed (&) )blockMessage:'&4Youractionhasbeenblocked!'#Do you want to be notified if a developer connects? (which is just me CaptainThrills)notifyOnDevConnect:true#Can developers check basic config settings to help debug TAG?allowDevInfo:true#DateFormat - Look up what this means before editing!FormatDate:'[hh:mm:ssaMM/dd/yyyy]'#In case of error / notown please select a blank town nameblankTownName:"null"# Send message to the following?toLog:true# Configure the messages sent to the various log areas# You can use color codes in the broadcastMessage (&)## <prefix> = prefix from the config# <date> = Current Date# <town> = player's town# <player> = player's name# <ip> = IP of player# <itemid> = item ID used# <itemname> = item Name# <action> = Action type (rightclick, shift right, etc)# <block> = Block broken at location# <x> = x-coord# <y> = y-coord# <z> = z-coord# <victim> = victim town / region#broadcastMessage:'<prefix>[<town>]<player>[<ip>]<action>Block:<block>withitem:<itemname>:<itemid>at<x>,<y>,<z>in<victim>'logMessage:'<prefix><date>[<town>]<player>[<ip>]<action><block>withitem:<itemname>:<itemid>at<x>,<y>,<z>in<victim>'# WorldGuard Support to enable WG protection alsoworldGuard:true#Regions to monitor with worldguardregions:-spawn# This is where you define the item ID's to log/cancel# Along with changing their individual values# Sample format:# ids:# '5397':# name: 'Wrench' - Custom name used for <itemname> and lognames# logName: true - Should the name be used instead of the ID for the logs?# block: true - Should the rightclick be blocked in other towns?? (Independent of cancelAction)# action: <action> - Valid Actions: src# Follow this format and you wont have any issuesids:'5397':name:'Wrench'logName:trueblock:trueaction:src