Advertisement
Aphenon

MyTown

Oct 17th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. # Configuration file
  2.  
  3. ####################
  4. # ProtEx
  5. ####################
  6.  
  7. ProtEx {
  8. }
  9.  
  10.  
  11. ####################
  12. # WildPerms
  13. ####################
  14.  
  15. WildPerms {
  16. }
  17.  
  18.  
  19. ####################
  20. # chat
  21. ####################
  22.  
  23. chat {
  24. # <enabled>;<name>;<abbrevation>;<color>;<inlineswitch> like 1;Global;G;§f
  25. S:Channel_Global=
  26.  
  27. # <enabled>;<name>;<abbrevation>;<color>;<inlineswitch> like 1;Help;H;§b
  28. S:Channel_Help=
  29.  
  30. # <enabled>;<name>;<abbrevation>;<color>;<inlineswitch> like 1;Local;L;§e
  31. S:Channel_Local=
  32.  
  33. # <enabled>;<name>;<abbrevation>;<color>;<inlineswitch> like 1;Nation;NC;§2
  34. S:Channel_Nation=
  35.  
  36. # <enabled>;<name>;<abbrevation>;<color>;<inlineswitch> like 1;Town;TC;§a
  37. S:Channel_Town=
  38.  
  39. # <enabled>;<name>;<abbrevation>;<color>;<inlineswitch> like 1;Trade;TR;§7
  40. S:Channel_Trade=
  41.  
  42. # Chat format to be used
  43. S:ChatFormat=§f[$color$$channel$§f]$prefix$$name$$postfix$$color$: $msg$
  44.  
  45. # Default chat channel for newcomers
  46. S:DefaultChannel=Global
  47.  
  48. # Setting this stops player messages from using the MyTown channel functionality.
  49. # Explicit call of channel commands (/g, /h, etc.) still works unless disabled separatedly
  50. B:DisableAutomaticChannelUse=false
  51.  
  52. # Emote format to be used
  53. S:EmoteFormat=§f[$color$$channel$§f]* $prefix$$name$$postfix$$color$ $msg$
  54.  
  55. # Should the chat be formatted
  56. B:FormatChat=true
  57.  
  58. # How many blocks far does the local chat sound
  59. I:LocalDistance=160
  60.  
  61. # How many characters can one chat packet contain. It's global.
  62. I:MaxChatLength=32767
  63.  
  64. # Private message format to be used when receiving. Vars starting with $s mean sender
  65. S:PrivMsgInFormat=§7[$sprefix$$sname$$spostfix$ §7-> Me] $msg$
  66.  
  67. # Private message format to be used when sending. Vars starting with $s mean sender
  68. S:PrivMsgOutFormat=§7[Me -> $prefix$$name$$postfix$§7] $msg$
  69.  
  70. # This is the prefix used for color codes in chat. Default value $
  71. # When using with Bukkit plugins, it's recommended to change this to &
  72. S:TextColoringPrefix=$
  73. }
  74.  
  75.  
  76. ####################
  77. # commands
  78. ####################
  79.  
  80. commands {
  81. B:Enable_ch=true
  82. B:Enable_delhome=true
  83. B:Enable_g=true
  84. B:Enable_gm=true
  85. B:Enable_h=true
  86. B:Enable_home=true
  87. B:Enable_homes=true
  88. B:Enable_l=true
  89. B:Enable_me=true
  90. B:Enable_mytown=true
  91. B:Enable_mytownadm=true
  92. B:Enable_nc=true
  93. B:Enable_online=true
  94. B:Enable_reply=true
  95. B:Enable_sethome=true
  96. B:Enable_setspawn=true
  97. B:Enable_spawn=true
  98. B:Enable_tc=true
  99. B:Enable_tell=true
  100. B:Enable_tp=true
  101. B:Enable_tr=true
  102. B:Enable_wrk=true
  103. }
  104.  
  105.  
  106. ####################
  107. # cost
  108. #===================
  109. # MyTown item based economy
  110. ####################
  111.  
  112. cost {
  113. # Enable the so called economy module?
  114. B:Enabled=true
  115.  
  116. # How much of the /sethome cost item is requested more for every home the player has when the player is creating a new home location. Ex. with 2 homes = /sethome cost + this * 2
  117. I:HomeCostAdditionPerHome=10
  118. ####################
  119. # list
  120. #===================
  121. # Defines what and how much costs. Set the amount to 0 to disable the cost. Syntax: [amount]x[item id]:[sub id]
  122. ####################
  123.  
  124. list {
  125. # /sethome cost for an existing home
  126. S:HomeReplace=5x264
  127.  
  128. # /sethome cost for a new unset home
  129. S:HomeSetNew=10x264
  130.  
  131. # /home teleport cost
  132. S:HomeTeleport=1x264
  133.  
  134. # /t claim - usage per block
  135. S:TownClaimBlock=1x264
  136.  
  137. # /t new townname - usage
  138. S:TownNew=5x264
  139.  
  140. # /t spawn townname - usage
  141. S:TownSpawnTeleportOther=1x264
  142.  
  143. # /t spawn - usage
  144. S:TownSpawnTeleportOwn=
  145. }
  146.  
  147. }
  148.  
  149.  
  150. ####################
  151. # database
  152. ####################
  153.  
  154. database {
  155. # The database name. Used by MySQL
  156. S:Database=
  157.  
  158. # Hostname:Port of the db server. Used by MySQL
  159. S:Host=
  160.  
  161. # Password to use when connecting. Used by MySQL
  162. S:Password=
  163.  
  164. # The database file path. Used by SQLite
  165. S:Path=config/MyTown/data.db
  166.  
  167. # Table name prefix to use. <pre>_towns etc..
  168. S:Prefix=
  169.  
  170. # Database type to connect to
  171. S:Type=SQLite
  172.  
  173. # Username to use when connecting. Used by MySQL
  174. S:Username=
  175. }
  176.  
  177.  
  178. ####################
  179. # general
  180. ####################
  181.  
  182. general {
  183. # Whether players are allowed to claim chunks not connected to earlier ones
  184. B:AllowFarawayClaims=true
  185.  
  186. # Third check. Can a member of the town kill someone who doesn't belong to his town?
  187. B:AllowMemberKillNonMember=true
  188.  
  189. # Second check. Can anyone hit anyone in town? For PVP only. Does NOT turn friendly fire on
  190. B:AllowPvpInTown=false
  191.  
  192. # First check. Can one town member hit a member of the same town? Anywhere. Also called friendlyfire
  193. B:AllowTownMemberPvp=false
  194.  
  195. # Defines the cart id's which can be placed on a rail with carts perm on. Includes all cart-types.
  196. S:CartItemIds=
  197.  
  198. # Are the /sethome and /home commands with no home name linked to the bed location?
  199. B:DefaultHomeIsBed=true
  200.  
  201. # How many seconds the /home teleport takes
  202. D:HomeTeleportTimeout=60.0
  203.  
  204. # Which blocks should be considered as access when someone is hitting them. Like TE Barrels
  205. S:LeftClickAccessBlocks=1000:2
  206.  
  207. # How many blocks(chunks) apart have the town blocks be
  208. I:MinDistanceFromAnotherTown=50
  209.  
  210. # How many town blocks the town gets for being in a nation
  211. I:NationAddsBlocks=0
  212.  
  213. # How many town blocks each resident gives if the town is in a nation
  214. I:NationAddsBlocksPerResident=0
  215.  
  216. # Towns that PVP is disabled in, reguardless of the AllowPvpInTown setting.
  217. S:PVPSafeTown=Spawn,Server
  218.  
  219. # How many seconds the /spawn teleport takes
  220. D:SpawnTeleportTimeout=60.0
  221.  
  222. # Filename in config folder with the term translations
  223. S:Translations=
  224. }
  225.  
  226.  
  227. ####################
  228. # protex
  229. ####################
  230.  
  231. protex {
  232. # Load all modules for which mods are present
  233. B:DynamicEnabling=true
  234.  
  235. # Run the extra protections?
  236. B:Enabled=true
  237. }
  238.  
  239.  
  240. ####################
  241. # serverperms
  242. ####################
  243.  
  244. serverperms {
  245. S:Server=
  246. }
  247.  
  248.  
  249. ####################
  250. # tickhandlers
  251. ####################
  252.  
  253. tickhandlers {
  254. ####################
  255. # oldtownremover
  256. ####################
  257.  
  258. oldtownremover {
  259. # Delete towns where members haven't logged in for this amount of days
  260. I:DaysAtleastOld=7
  261.  
  262. # Feature enabled?
  263. B:Enabled=false
  264.  
  265. # Each plot of the town adds extra safe time for the town
  266. D:PlotDaysAddition=0.5
  267.  
  268. # Town name comma seperated list which are exempt from this feature
  269. S:SafeTownList=Spawn,Server
  270.  
  271. # How often should the worker check for old towns? Default 1min - 1200 ticks
  272. I:WorkerTimeoutTicks=1200
  273. }
  274.  
  275. ####################
  276. # oldresidentremover
  277. ####################
  278.  
  279. oldresidentremover {
  280. # Remove residents where he hasn't logged in for this amount of days
  281. I:DaysAtleastOld=30
  282.  
  283. # Feature enabled?
  284. B:Enabled=false
  285.  
  286. # Resident name comma seperated list which are exempt from this feature
  287. S:SafeResidentList=
  288.  
  289. # How often should the worker check for old residents? Default 1min - 1200 ticks
  290. I:WorkerTimeoutTicks=1200
  291. }
  292.  
  293. }
  294.  
  295.  
  296. ####################
  297. # wildperms
  298. ####################
  299.  
  300. wildperms {
  301. S:Server=
  302. }
  303.  
  304.  
  305. ####################
  306. # worldborder
  307. ####################
  308.  
  309. worldborder {
  310. B:chunk-generator-enabled=false
  311. B:chunk-generator-multithreaded=false
  312.  
  313. # Module enabled?
  314. B:enabled=true
  315. ####################
  316. # limits
  317. #===================
  318. # Dimensional limits. S:Limit<n>=<dim>, <type>, <radius>. Type is either circle or square
  319. # Example: S:Limit1=0, circle, 50000
  320. ####################
  321.  
  322. limits {
  323. }
  324.  
  325. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement