Townships+ Battle for Resources, Control and Glory! icon

Townships+ Battle for Resources, Control and Glory! -----

The best Town plugin for Minecraft





This is prep for an update, isnt a required update until the next one.
Some minor changes here
----------, Jun 25, 2024

Various fixes
----------, Jun 1, 2023

Various updates to get ready for 1.19.
Townships should function without issue to 1.18!


removed bug messages
#561931308 name-colour-fix 0af906f5 [​IMG]
latest
[​IMG]

passed
00:04:08

3 days ago

Merge branch 'name-colour-fix' into 'master'
#561703615 master 484b5e0a [​IMG]
latest
[​IMG]

passed
00:06:43

3 days ago

Added user teleport event which can be cancelled.
#561702103 name-colour-fix fc311a55 [​IMG]

[​IMG]

passed
00:05:11

5 days ago

Fixed conquests
#560494681 name-colour-fix d99b4c1e [​IMG]

[​IMG]

passed
00:06:27

6 days ago

Minor fixes. Not sure if this will fix conquests
#559351817 name-colour-fix 8ac7176f [​IMG]

[​IMG]

failed
00:31:49

1 week ago

Cleanup
#558243574 name-colour-fix 9f5b4deb [​IMG]

[​IMG]

passed
00:04:55

1 week ago

Fix null pointers
#555897581 name-colour-fix 4b1c7aad [​IMG]

[​IMG]

passed
00:07:25

1 month ago

More fixes. Coloured names are still inconsistent
#522352803 name-colour-fix fc813d9b [​IMG]

[​IMG]

passed
00:04:25

2 months ago

Added repo management
#502417784 master 7716edfd [​IMG]

[​IMG]

failed
00:17:30

2 months ago

Added to deploy on master
#502412216 master 1016b269 [​IMG]

[​IMG]

passed
00:04:53

4 months ago

Merge branch '1.17' into 'master'
#450111505 master 7ab07eee [​IMG]

[​IMG]

canceled
00:00:34

4 months ago

Update pom.xml
#450111389 master e70aca7e [​IMG]

[​IMG]

passed
00:06:38

4 months ago

Versions 1.17 and above will use vLATEST handler. Therefore adding complete future compatibility since NMS is no longer used
#450095471 1.17 228c20df [​IMG]
latest
[​IMG]

passed
00:02:44

4 months ago

Changed to older Java 11 compat version of worldguard, and removed NMS from scoreboards.
#450074863 1.17 79821a95 [​IMG]

[​IMG]

failed
00:02:30

4 months ago

Changed to spigot api from bukkit
----------, Jun 16, 2022

Updates and bug fixes for 1.16+
----------, Apr 28, 2021

Fixed some errors with loading of townships with invalid materials.
Would update if you are having the issue.
----------, Apr 26, 2019

Should have no issues, it was a seamless update.
Please let me know if you run into any issues.
----------, Aug 21, 2018

This should work just fine, not updated to 1.13 just yet
----------, Aug 9, 2018

Should be mostly working Placeholder API support.

The custom Townships placeholders will come when @clip has time to add them to the ecloud for PAPI.
----------, May 2, 2018

#291 (Dec 5, 2017 2:57:21 PM)
  1. Move a null check in case that helps things work better. — dkabot / gitlab
#290 (Nov 28, 2017 9:23:15 AM)
  1. If a town has no regions, complain. — dkabot / gitlab
  2. Attempt to solve the item amount overflowing and deleting items. — dkabot / gitlab
  3. Old change I never pushed that makes the conquest command actually tell — dkabot / gitlab
  4. Language key I forgot to push for the "no regions" check. — dkabot / gitlab
----------, Dec 10, 2017

  1. Update to 1.12 — morphanone / gitlab
----------, Sep 16, 2017

Adds config options for outpost cost and limit per town level.
Each one still counts as a chunk, so there are two limits you need to be aware of when making one.
If not defined, it'll just take the values from normal chunks, though that's probably not a great plan to actually use that way.

Outposts are marked on the region file directly, which is probably the place most likely to run into some sort of issue.
Currently, a region file is just its location and owning town.

The command is:
Code (Text):
/town claim outpost
Usage is the same as a normal claim.
You should be unable to unclaim an outpost if it has any neighboring chunks as a basic anti-abuse measure.
There's also a separate permission for claiming an outpost (though not unclaiming), and it's granted by default anywhere normal claim is:
Code (Text):
townships.command.town.claim.outpost

New command:
/town conquest - to show which conquest points are unclaimed.
----------, May 26, 2017

This resolves the issue we had with players abusing a town bank bug. Recommend updating.
----------, May 16, 2017

In this update, we added town-level based permissions, so at any town-level you are able to hand out town-global permissions based on that tier.


b271
Changes
  1. Add per-town-level and per-kingdom-level perms (detail / gitlab)

Code (Text):

level_0:
  #residents required to obtain this level.
  residentsRequired: 1
  #currency required, this could be 0 if you wanted a free township for level 0.
  currencyRequired: 25
  #the currency required to rename the town
  renamePrice: 500
  #The township level name, this is used to display for info purposes instead of level_0
  levelName: 'I - Hamlet'
  #prefix is only used in townchat
  mayorPrefix: 'Mayor '
  #The amount taken from the township bank upon claimiing a new chunk for the town.
  pricePerChunkClaim: 50
  #How many chunks of protection the township gets.
  townChunkLimit: 15
  #Must be a multiple of 9 or it will be rounded up to one.
  bankSlots: 9
  #The adjustment that the township may have to pay to the server, higher or lower ranks may have to pay more upkeep.
  upkeepModifier: 1.0
  basicMaterials: []
  specialMaterials: []
  # The extra permissions town members receive at this town level
  [B]permissions: [][/B]
----------, Apr 19, 2017

#270 (Feb 23, 2017 2:19:41 AM)
  1. Cache TownshipsUsers by name — morphanone / gitlab
----------, Feb 24, 2017

#269 (Jan 29, 2017 5:57:50 PM)
  1. Allow plots to overlap, the lowest volume plot is what we check for — dkabot / gitlab
  2. Plots touching with the same volume would be bad. Let's try to prevent — dkabot / gitlab
#268 (Jan 29, 2017 5:35:00 PM)
  1. Set withinRegions to true if within regions. Fixes bug of a plot that — dkabot / gitlab
  2. Comment out some seemingly debug lines to prevent spam. — dkabot / gitlab
  3. Try to fix a ConcurrentModificationException by not regenerating in the — dkabot / gitlab
#267 (Jan 29, 2017 4:38:04 PM)
  1. Mirror added lines to dutch.yml, not translated of course. — dkabot / gitlab
  2. Fix invalid strings for revoked-plot — dkabot / gitlab
#265 (Jan 20, 2017 10:21:06 PM)
  1. Add plot relocate command to move it and retain members. Verify plots — dkabot / gitlab
#264 (Jan 20, 2017 12:44:11 AM)
  1. remove the war cmd for now. — Kainzo / gitlab
#263 (Jan 18, 2017 5:30:30 PM)
  1. Use defaults on town load, so we don't have things arbitrarily being — dkabot / gitlab
----------, Feb 2, 2017

Added "friendly_fire: true" to the toggleable list.

This setting allows for mayors to control the pvp-off ability between town mates and its allies.

#262 (Jan 17, 2017 4:37:53 PM)
  1. Add FriendlyFire setting, prevents PvP between town members (or allies — @dkabot / gitlab
#260 (Jan 17, 2017 2:07:21 PM)
  1. Fix a NullPointer when a user leaves a point their town apparently — @dkabot / gitlab
----------, Jan 17, 2017

#259 (Jan 4, 2017 4:00:44 PM)
  1. Hotfix cross-world conquest points and try to avoid it happening — dkabot / gitlab
----------, Jan 9, 2017

Properly shade 1.11 update.
----------, Jan 3, 2017

DO NOT USE IN PRODUCTION UNTIL TESTED.

This build was pushed earlier than expected and may not work fully in production for 1.11.
----------, Nov 26, 2016

Changes
#254 (Oct 11, 2016 2:44:00 PM)
  1. Fix logging out and still capturing conquests — morphanone / gitlab
#253 (Sep 27, 2016 8:44:40 PM)
  1. Improve passive mode a bit — morphanone / gitlab
----------, Oct 12, 2016

Build #252 (Sep 19, 2016 5:25:35 PM)
  1. Reload conquests.yml with the admin command (detail / gitlab)
----------, Sep 19, 2016

Changes
#251 (Sep 16, 2016 12:15:40 PM)
  1. Fix tnt related errors — morphanone / gitlab
#250 (Sep 14, 2016 11:12:43 PM)
  1. Overwrite language files automatically — morphanone / gitlab
----------, Sep 16, 2016

Changes
#249 (Sep 14, 2016 8:49:17 PM)
  1. Make patches to codes — morphanone / gitlab
#248 (Sep 14, 2016 8:40:37 PM)
  1. Add town name to /town members — morphanone / gitlab
#247 (Sep 14, 2016 8:36:52 PM)
  1. Patch language error — morphanone / gitlab
#246 (Sep 14, 2016 8:23:06 PM)
  1. Add allies and enemies to /town info — morphanone / gitlab
#245 (Sep 14, 2016 8:16:01 PM)
  1. Save warmup times — morphanone / gitlab
  2. List helpers in /town info — morphanone / gitlab
#244 (Sep 14, 2016 7:55:41 PM)
  1. Add a few fallbacks to guarantee wars are ended properly — morphanone / gitlab
#243 (Sep 14, 2016 7:30:46 PM)
  1. Give points to the right towns — morphanone / gitlab
#242 (Sep 14, 2016 6:04:20 PM)
  1. Improve war TNT handling — morphanone / gitlab
#241 (Sep 14, 2016 5:08:19 PM)
  1. Fix spawn command — morphanone / gitlab
#240 (Sep 7, 2016 6:51:22 PM)
  1. Repurpose war cooldowns — morphanone / gitlab
----------, Sep 15, 2016


A method for allowing players to declare war and cause economy harm to the losing towns.
Code (Text):

politics:
  # Toggles whether players can teleport to the spawn location of allies.
  ally_spawns: true
  # Base currency required to declare war on another town.
  # This follows the formula: Base + (AtkLevel/DefLevel)*20 + (AtkChunks/DefChunks)*60 - DefPlayers + AtkLevel*50 + PastWars^5
  war_declare: 100.0
  # Maximum amount it can cost to declare war. 0 to disable the limit.
  war_declare_max: 10000.0
  # The amount to multiply the declare cost before giving it to the winner of the war.
  # For example, if the war starts with the attacker paying 1500.0, then a 2.0 multiplier will give the winner 3000.0.
  # If there is a tie, neither side will receive this money.
  reward_multiplier: 2.0
  # Base currency required to surrender a war.
  # This follows the formula: Base + (SurrenderTownLevel / EnemyTownLevel * 200) - (PastWars * 10)
  peace_sue: 0.0
  # Minimum amount it can cost to surrender.
  peace_sue_min: 100.0
  # The time between when a war is declared and when it actually starts.
  # Uses a Duration string (w[eek], d[ay], h[our], m[inute], s[econd])
  war_warmup: 5m
  # Time between messages that should be announced to both towns to inform them when the warmup ends and war begins.
  # Uses a Duration string (w[eek], d[ay], h[our], m[inute], s[econd])
  war_msg_interval: 1m
  # Time that the war will last between towns.
  # Uses a Duration string (w[eek], d[ay], h[our], m[inute], s[econd])
  war_max_time: 1d
  # Points required on either side to win the war.
  war_max_points: 100
  # Whether the towns involved should stop producing (e.g. harvests) during wartime.
  economic_halt: true
  # Time in minutes until a town can be declared upon.
  war_cooldown: 720
  # Points that will be given to either town for...
  conflict:
    # ...killing an enemy player.
    enemy_kills: 5
    # ...an enemy player dying.
    enemy_loss: 3
    # ...no enemies being online for an amount of time.
    enemies_offline:
      time: 60m
      points: 1
[/SIZE]
 


#234 (Sep 3, 2016 1:56:59 AM)

  1. Fix stupid errors — morphanone / gitlab
#233 (Sep 2, 2016 4:12:42 PM)
  1. Little fixes — morphanone / gitlab
#232 (Sep 1, 2016 6:01:16 AM)
  1. add more dutch translations — blackcoyoteproductions / gitlab
#231 (Sep 1, 2016 5:24:56 AM)
  1. add initial dutch.yml template — blackcoyoteproductions / gitlab
#230 (Sep 1, 2016 5:14:46 AM)
  1. Update english.yml — morphanone / gitlab
#229 (Sep 1, 2016 4:19:31 AM)
  1. Add '/town helper <player>' to toggle a player as a helper (can build, — morphanone / gitlab
#228 (Sep 1, 2016 3:36:40 AM)
  1. Add '/township admin passive' to disable conquesting for yourself — morphanone / gitlab
#227 (Sep 1, 2016 2:58:09 AM)
  1. Add '/ts admin reload' — morphanone / gitlab
#226 (Sep 1, 2016 2:11:39 AM)
  1. Allow teleporting to ally spawns (configurable) — morphanone / gitlab
#225 (Sep 1, 2016 1:55:34 AM)
  1. Add nicer taxexempt messages and stuff — morphanone / gitlab
#224 (Sep 1, 2016 1:31:59 AM)
  1. Apply limits to taxes, reset to 0 when taxpercent is toggled — morphanone / gitlab
#223 (Sep 1, 2016 1:12:18 AM)
  1. Improve user handling — morphanone / gitlab
  2. Allow users to have multiple ranks, separate promote/demote cmds — morphanone / gitlab
#222 (Aug 31, 2016 10:43:07 PM)
  1. Fix /town members [town] — morphanone / gitlab
#221 (Aug 31, 2016 10:34:07 PM)
  1. Save addon data properly because Bukkit is weird — morphanone / gitlab
#220 (Aug 31, 2016 12:54:44 AM)
  1. Add configurable enemies_offline points — morphanone / gitlab
#219 (Aug 30, 2016 11:54:59 PM)
  1. Add a war warmup phase, improve some code — morphanone / gitlab
#218 (Aug 30, 2016 6:38:11 PM)
  1. Make '/town map' respect language file — morphanone / gitlab
#217 (Aug 30, 2016 6:30:16 PM)
  1. Add conquest points to /town map — morphanone / gitlab
#216 (Aug 30, 2016 6:16:36 PM)
  1. Fix conquest announcements — morphanone / gitlab
#215 (Aug 28, 2016 4:56:20 PM)
  1. Fix tie spamming — morphanone / gitlab
#213 (Aug 28, 2016 4:31:27 PM)
  1. Fix war cost message — morphanone / gitlab
#212 (Aug 28, 2016 4:35:28 AM)
  1. Yet another NPE patch — morphanone / gitlab
#211 (Aug 28, 2016 4:25:38 AM)
  1. Fix more NPEs — morphanone / gitlab
#209 (Aug 28, 2016 4:12:53 AM)
  1. Fix / 0 exceptions — morphanone / gitlab
#208 (Aug 28, 2016 4:00:38 AM)
  1. Another old save patch — morphanone / gitlab
#207 (Aug 28, 2016 3:52:28 AM)
  1. Fix NPEs on old town files — morphanone / gitlab
#206 (Aug 27, 2016 3:54:18 PM)
  1. Implement war — morphanone / gitlab
#203 (Aug 14, 2016 2:27:09 AM)
  1. Fix stupid issues with v1_8_R1 and v1_9_R2 — morphanone / gitlab
----------, Sep 3, 2016

#201 (Jul 28, 2016 5:51:41 PM)
  1. Fix full banks — morphanone / gitlab
#200 (Jul 27, 2016 7:58:10 PM)
  1. Ally invitations — morphanone / gitlab
#198 (Jul 25, 2016 7:58:10 PM)
  1. Potential fix — morphanone / gitlab
#197 (Jul 25, 2016 6:58:23 PM)
  1. Allow right-click to withdraw a full stack from the bank — morphanone / gitlab
#195 (Jul 21, 2016 1:58:10 AM)
  1. Add 1.8, 1.8.3, and 1.8.6 support — morphanone / gitlab
#194 (Jul 20, 2016 3:58:09 PM)
  1. Fix capture cooldowns — morphanone / gitlab
----------, Aug 6, 2016

* Addressed an issue with the Castle Conquest capture points not properly assigning the reserved time for successful captures.
* Added more support for versions between 1.8 and 1.10
----------, Jul 21, 2016

Added the commands to toggle various settings in towns. Remove the "-" to set these to mayors.
+ - -townships.command.town.toggle.pvp
+ - -townships.command.town.toggle.explosion
+ - -townships.command.town.toggle.fire
+ - -townships.command.town.toggle.mobs
+ - -townships.command.town.toggle.memberinteract
+ - -townships.command.town.toggle.allyinteract
+ - -townships.command.town.toggle.outsiderinteract
----------, Jul 20, 2016

This fixes a language error with the Conquest "Tied" points. Delete english.yml to propagate the fix.
----------, Jul 19, 2016


Resource Information
Author:
----------
Total Downloads: 124
First Release: Jul 15, 2016
Last Update: Nov 8, 2024
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings