[SEC/FUN/INFO/CHAT/TP] Towny Advanced v0.88.0.0 - Land and town management [3020+ 1.7.2-R0.3]

Discussion in 'Archived: Plugin Releases' started by ElgarL, Jul 7, 2011.

  1. Offline

    ElgarL

    Plugin: Towny
    [​IMG]

    New Towny Website!

    Taking Shades' Towny a step farther.

    A versatile, player-controlled land management plugin for use with Bukkit/Tekkit/Spigot/Libigot, offering solutions for pvp, griefing, chat, inflated economies and monsters.

    Features (open)

    Towny includes a wide variety of features to offer instant enhancements to your traditional Minecraft server.
    • Allows players to own and manage land based on a pre-set grid layout.
      • Players join towns and purchase plots of land.
      • Players decide who can build, destroy, use "switchs" and use items on every plot they control.
      • Towns can join together into nations, further structuring a server into teams.
      • Towns grant protection from monsters, pvp, fire, explosions and greifing.
    • Wilderness Rules (Optional)
      • Area between towns is wilderness, with its own build permissions.
      • Limit players' interaction with the wild to just harvest-able blocks, keeping the wild pristine.
      • Roll-back tnt, creeper, wither explosions, dragon damage and endermen block-moving.
      • Block explosions and fire.
    • PVP Enhancements
      • Server with a strong PVP aspect will find Towny's grouping of players to be invaluable.
      • Prevent friendly-fire. (Optional)
      • Nations split players into larger teams.
      • Nations can declare other nations to be allies or enemies, further splitting players into even larger teams.
      • PVP can be turned on/off in wilderness, towns and worlds. (Optional)
    • Teleporting/Warping and Spawning (Optional)
      • Players can spawn to their town upon death.
      • Players can spawn to their town or a town that is within their nation/allied with their nation.
    • Customized modified chat. (Optional)
      • Colours, group prefixes and suffixes, nation, town, towny titles.
      • Channels for general, local, town, nation, moderator, admin and custom channels.
      • Anti-spam feature.
    • Shop plugin support. (Optional)
      • Limit shops to special Shop Plots, enhancing realism.
    • Economy plugin interaction. (Optional)
      • Supports all economy plugins.
      • Charge money for plots, towns, nations.
      • Flexible tax system.
      • Upkeep to remove money from the economy, stopping rampant inflation.
    • All Permissions Plugins supported. (Optional)
      • Perms 2/3, GroupManager, BukkitPermissions, bPermissions, PermissionsEx, etc.
    • Multiworld Support
      • Flexible settings for every world.
      • Enable/disable Towny in as many worlds as you like.


    REQUIRES
    • No other plugins, but is best with Questioner, so that invitations are given by Towns and Nations to residents and towns.
    Optional
    • Questioner 0.6
    • Essentials 2.5+ - (Towny /town spawn's obey Essentials teleport cooldown)
    • All permissions plugins are supported and provide greater customization (recomend GroupManager).
    • Economy plugin of your choice.
    (We no longer recommend using PEX at all. It breaks TownyPerms due to the reflection PEX performs.)
    Supported Economy Plugins
    • iConomy 5.01
    • iConomy 4/5 *
    • iConomy 6 *
    • EssentialsEco *
    • BOSEconomy *
    • Craftconomy *
    • * Requires Register.jar 1.8+ (or Vault) in your plugins folder.
    • Any Vault-capable economy plugin that supports false-player accounts. (Do not use register if your economy plugin is supported by vault.)
    Plugins That Support Towny
    Download Towny
    • Release Version: Link
    • Dev Versions/Jenkins: Link (Majorly Different - Visit IRC channel before using.)
    • Install Guide
    Wiki
    Towny Wiki Site

    Suggestions and Issues
    Make a suggestion - Link
    Report an issue - Link
    • Credits: Many thanks to all contributers including, but not limited to: Fuzziewuzzie, Shadeness, LlmDl, SwearWord and dumptruckman.
     
  2. Offline

    sakura_blades

    Okay and where would i get it? Because I had to REALLY dig to find this one.

    Nvm, I found it I think

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  3. Offline

    LlmDl

    It's on our website linked in the OP, the same place you get all your towny files I hope.
     
  4. Offline

    snivell

    ElgarL Will your server ever be back online?
     
  5. Offline

    sakura_blades

    Oh yes I found it. xD I just didn't see it tucked away there, the link I kept seeing kept taking me to a forum post about it that was marked outdated/inactive which is where I got the 0.4 version or whatever. XD
     
  6. Offline

    Nickbbeezy

    LlmDl Is there a way to create towny chat channels that only the players in that channel can see other than Nation & Town chats? For instance, I'm trying to make a TRADE channel, where people can sell stuff and other players don't have to see all the banter. I've tried setting the type to "DEFAULT", but every other channels can see the chat as well as long as they have permission. Not sure on how to configure this or if it's even possible at the moment.
     
  7. Offline

    LlmDl

    The default type is just to determine which formatting is used from the chatconfig.yml, who can see/talk in a chat is determined entirely by which nodes you're giving to the players.

    Default is probably the right format you want, just give the towny.chat.trade node (or w/e you've set it to in the channels.yml) and players will see it. If someone wants to talk in teh trade channel they will use the /trade (or w/e you've set in the channels.yml) to switch to it or /trade blah blah blah to speak in the channel without switching.
     
  8. Offline

    Charly_ZA

    I use Towny to repair explosions but sometimes when an explosion happens (never blocks, it seems) items like flowers, beds and torches drop so the player can pick them up and then a new one is created when the explosion is repaired.
     
  9. Offline

    Nickbbeezy

    Yup, I got all of that so far. The problem I'm having is, people that aren't in trade chat (they're in global chat) are able to see trade chat messages. Trying to make it so only people in trade can see trade, etc.
     
  10. Offline

    LlmDl

    If they have teh permission node for the trade channel then they will see the chat inside that channel. They can use /leave trade to leave teh trade channel, I dont think there is a way to have left it automatically when joining the server.

    Could you file an issue ticket on our tracker please:

    http://code.google.com/a/eclipselabs.org/p/towny/issues/entry?template=Defect report from user

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  11. Offline

    brulox

    Hi I have this problem whit my towny today. I need help please.
    Code:
    [16:49:43 INFO]: ====================      Towny      ========================
    [16:49:43 ERROR]: Error occurred while enabling Towny v0.84.0.9 (Is it up to dat
    e?)
    java.lang.NullPointerException
            at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) ~[?:1.7.0_
    17]
            at com.palmergames.bukkit.towny.TownySettings.newNationLevel(Unknown Sou
    rce) ~[?:?]
            at com.palmergames.bukkit.towny.TownySettings.loadNationLevelConfig(Unkn
    own Source) ~[?:?]
            at com.palmergames.bukkit.towny.TownySettings.loadCachedObjects(Unknown
    Source) ~[?:?]
            at com.palmergames.bukkit.towny.TownySettings.loadConfig(Unknown Source)
    ~[?:?]
            at com.palmergames.bukkit.towny.object.TownyUniverse.loadSettings(Unknow
    n Source) ~[?:?]
            at com.palmergames.bukkit.towny.Towny.load(Unknown Source) ~[?:?]
            at com.palmergames.bukkit.towny.Towny.onEnable(Unknown Source) ~[?:?]
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) ~[c
    raftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:457) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.jav
    a:298) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.
    java:280) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:3
    38) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:3
    15) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:2
    75) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.jav
    a:175) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java
    :420) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
            at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6
    17) [craftbukkit.jar:git-Bukkit-1.6.4-R2.0-39-g68b702f-b2954jnks]
     
  12. Offline

    LlmDl

    Pastebin.com your towny config.yml
     
  13. Offline

    brulox

    Hi, here it is. Some thing are in spanish because I am from Argentina.
    http://pastebin.com/3QjuagDs
     
  14. Offline

    LlmDl

    In yoru nation_levels section, there are many parts where you're missing the ' '

    namePrefix: Reino de
    kingPrefix: Rey

    These should be 'Reino de' and 'Rey'
     
  15. Offline

    brulox


    Thanks, you saved me.
     
  16. Offline

    landriss

    Is it possible to setup a builder rank but only has permission to place and destroy blocks in unowned plots?
     
  17. Offline

    LlmDl

    No but there is already a ticket on our tracker which is suggesting it.
     
  18. Offline

    LeoMC

  19. Offline

    LlmDl

    That setting in the config and the info node is only limits the number of plots a resident can physically own, not how many plots a town can claim.

    If you are wanting towns to only be able to claim 1 townblock per resident that is in the town you need to set town_block_ratio: '1' in the towny config.yml.
     
    LeoMC likes this.
  20. Offline

    LeoMC

    So there is no way to limit the expansion of groups in town?

    example

    Default member can create 1 town with 1 plot
    Premium can create 1 town with a limit of 25 plots.

    Thanks for listening!
     
  21. Offline

    LlmDl

    No that's not possible. If your server-model includes donations allowing players to make town bigger than one plot you have to remember that the player could just leave to any other towny server and begin making a town bigger than one plot.
     
  22. Offline

    Hobby_boy

    What happened to the bukkitdev listing?
     
  23. Offline

    LlmDl

    We haven't been on dbo for more than a year I think.
     
  24. Offline

    DopeJamm

    hello, can anyone help me... i have a problem of not being able to destroy block or place blocks in the wild and i dont know how to fix it, if you have a fix could you add me on skype please!

    skype name:dopejamm

    cheers everyone!
     
  25. Offline

    Colby l

    I've been looking through Towny for a way to check if a player can, or is in, a PvP area.

    I was curious if anyone has done this check, or knows where to look for towny, as I've come to a dead end. Below is a few methods I've tried to check.

    Code:
    Code:java
    1. public boolean inPvPAreaTowny(Player p) {
    2.  
    3. String world = p.getWorld().toString();
    4. TownyWorld townyWorld;
    5. Block block = p.getLocation().getBlock();
    6. try {
    7. townyWorld = TownyUniverse.getDataSource().getWorld(block.getWorld().getName());
    8. int x = (int) Math.round(p.getLocation().getX());
    9. int y = (int) Math.round(p.getLocation().getY());
    10. TownBlock townBlock = new TownBlock(x, y, townyWorld);
    11. Town towny = new Town(townBlock.getWorld().toString());
    12.  
    13. if (towny.isPVP()) {
    14. return true;
    15.  
    16. } else {
    17. return false;
    18. }
    19. } catch (NotRegisteredException e) {
    20. TownyMessaging.sendErrorMsg(p, TownySettings.getLangString("msg_err_not_configured"));
    21. // TODO Auto-generated catch block
    22. Main.getInstance().log.severe(ChatColor.RED + "[RiseFly] Towny World " + world + " is not registered!");
    23. }
    24. return false;
    25.  
    26. }


    Second method:
    Code:java
    1. public boolean canPvPTowny(Player p) {
    2.  
    3. TownyPermission towny = new TownyPermission();
    4.  
    5. if (towny.pvp) {
    6.  
    7. return true;
    8. } else {
    9.  
    10. return false;
    11. }
    12. }


    Not sure how the above would get the Player's info though.

    Thanks for the help!
     
  26. Offline

    LlmDl

    Give your players towny.wild.* in their permission nodes
     
  27. Offline

    Zedarean

    Is it possible to have newly claimed town plots automatically be set for sale at the default 'plotprice', or do I have to type "/plot fs" in all of them?
     
  28. Offline

    LlmDl

    That is the only way I know of doing this.
     
  29. Offline

    robyrho

    ElgarL can I modify the source? I'll leave you all credits and I do not use it for commercial purposes...
     
  30. Offline

    ElgarL

    Yes. Non commercial.
     
  31. Offline

    Neero

    I am trying to send chat message to admin chat from the console, but it is not possible. I have also tried several "run command as player" mods, but they wont accept the command either. Is there a way to make this work?
    Edit:
    I actually found a mod that works :)
    Anyways, it would be awesome if it was possible to send admin chat from console with custom name:
    townychat <username> admin <text>
     

Share This Page