PSA Towny - Dawn of War - NOW LIVE!

Discussion in 'News & Announcements' started by octagami, Aug 12, 2016.

By octagami on Aug 12, 2016 at 1:20 PM
  1. octagami

    octagami The 8nigma
    Staff Member Voidwalker 5 Year Badge

    Apr 19, 2012
    Likes Received:

    Hi, I'm octagami, a creator, admin and developer for OMM.

    This summer I decided to start coding a ground up rewrite of the Towny plugin.

    Towny is the backbone of our survival PvE experience. The unfortunate reality is that the original Towny plugin halted active development back in 2012. It's part of the reason why Towny servers are now few and far between.

    I have long been maintaining a fork of Towny for OMM. I've made plenty of changes, but none have been major. The sheer size and complexity of the Towny code base discouraged attempts to add any major new features.

    In the process of trying to improve our experience for new players this summer, I was forced to face the fact that Towny was the weakest link in our PvE offering. I made the decision to take on a project I knew would be a monumental effort: Writing our own version of Towny from the ground up. To do this, I needed to reach feature parity, while maintaining backwards compatibility with the old Towny, so that the transition would be nearly seamless.

    Two months and a few hundred hours of coding later, I now have a new Towny plugin for OMM that's roughly beta quality. The next task is to make sure it's fully tested so that we catch any bugs before it goes live to all servers. The best way to do that is a public beta.

    Sometime this weekend Monday we'll be opening a public beta server. We'd like you all to try out the new features, report any bugs, and give your feedback. If you want to have fun while doing it, I suppose that's OK too. We're now live!

    This rewrite will enable us refine add features to Towny based on community feedback and suggestions. In order to prove that point, I added (and improved) a long requested feature. Town and Nation wars.

    Although the effort for the rewrite was extensive, much of the time went into rebuilding features we already had. Despite that, I did put time into some additional features, to help make the rewrite "feel" new.

    New features

    • Interactive map UI with plot claiming /imap or /map ui
    • UI for browsing nations, towns, and residents /nation list, /town list, /resident list
    • Nations are now global (cross server)
    • % tax of residents job income directly to town bank /t set taxes [%]
    War features
    • War UI for declaring, joining, surrendering /town war, /nation war
    • Town vs Town and Nation vs Nation wars
    • Peaceful/Neutral/Aggressive status for towns/nations /t set diplomacy [value]
    • Declare a war, allies can choose to join your side (or not)
    • Enemies can declare join your war on the opposing side
    Planned features (not in beta)
    • War kill/death tracking
    • War win conditions
    • War spoils (opt in)
    • Town blacklists (bar players from entering your town)
    • Additional UI menus for town/nation management
    • Town shop registry
    Interactive Map
    map_ui.png map_ui_2.png

    Town List UI
    town_list.png town_ui.png

    War Management UI
    war_list.png war_ui.png
    #1 octagami, Aug 12, 2016
    Last edited: Sep 19, 2016
    • Like Like x 22
    • Informative Informative x 3
    • Cookie Cookie x 2


Discussion in 'News & Announcements' started by octagami, Aug 12, 2016.

    1. Aesir
      Holy moly... The sheer size of this is amazing! I myself know that the Towny plugin is huge, and creating your own is just... Well, Impressive would be a huge understatement. The wars themselves look incredibly exciting! I love how there's a neutral/passive setting for those who don't want to be involved.

      All in all, I just boarded the hype train.
      Last edited: Aug 16, 2016
    2. Laff70
      Wait, you're redoing Towny??? Does this mean you can add in my Zones suggestion?!?!?!? :D
      I know your reasoning before for not doing it was Towny was a pain to modify. You thought it was a brilliant idea though.
    3. Katrina_Linden
      Is it possible to disable fly in towns that are at war? I feel it'd decrease the old method of vets flying around and massacring new players. Something of an equal footing
    4. octagami
      Yes, we would like to have flight disabled for players actively engaged in PvP. The exact solution to that problem is still TBD.

      At the moment flight is disabled globally on the beta server.
      It does mean there is a higher chance of Towny related suggestions getting implemented in the future. However in general huge projects like these have meant we're hugely backlogged where suggestions are concerned. We hope to get back to them at some point.
    5. octagami
      It was a pretty huge effort, I appreciate the recognition for that. I would like to point out though that, although huge, Towny is just another one of MANY custom plugins we've written for OMM over the last 4 years.

      As of today we're using ~100 plugins across all servers. 75 of our plugins were written from scratch by myself and Xor. 10 more are forks (variants of 3rd party plugins we maintain). As of today only 15 are off the shelf 3rd party plugins.

      Although lines of code isn't a great measure (less lines is better), our custom plugins as of today are ~180,000 lines of code (add another ~150,000 if you include forks). The new Towny is ~33,000 lines, or ~18% of our total custom plugin code base. The only other plugin that comes close is my Trident minigames plugin at ~15,000 lines, or ~8%. That plugin was also a multi month effort early this year.

      If anyone is interested, we maintain a plugin spreadsheet:
      Last edited: Aug 16, 2016
    6. Laff70
      :D Yay!!! You and Xor are the best developers ever!!!
    7. ΩVolt9
      My suggestion: All flight could be temporarily disabled for 30-90 seconds after getting hit by or dealing damage to an enemy player.
    8. Aesir
      1: That's a heck of a lot of coding there... I'm impressed with the work put into this server. I think I love it more, now.

      2: Holy crap, octagami noticed me.
    9. octagami
    10. The_Death_Beast
      What would I name the combined nations given that the PLC has a very long name.
    11. Katrina_Linden
      Polish-Lithuanian-Estonian Commonwealth.
      Or just rename it all Poland
    12. ETMew2348
      Thank you so much octagami, my will to play has returned better than ever. We also had a really fun war against the staff last night. Pic related.[​IMG]
    13. Elemental
      You are mistaken.
      Staffies is not the capital of WeAre. Get juked
      @Twittermyglitter told you it would work.
    14. octagami
      Love this. I'm sad there are no ratings news post replies.
    15. ETMew2348
      Oh I didn't know lol

      Thanks Octa, I plan on doing this for all wars and I'm sure other nations will contribute to preserving all future wars we have on omm.

      They should just rename it as Greater Poland[​IMG]
    16. octagami
      I've thought about this already. Each war is unique and will be tracked as such.

      At the moment the war names just default to the name of the town/nation that declared, plus a number. However you can name your own wars with /t war declare [name]. Right now the name can't have spaces, but if you use underscores they'll be treated as spaces in the UI (e..g /t war declare World_War_II).
    17. EnderTeddy
      Senpai Octagami has noticed us.

      Attached Files:

    18. a6n2jr
      So with nations being global, would nations with the same name on a different server conflict?
    19. octagami
      We'll migrate existing nations, if any conflict they'll get an extra character appended.

      You can rename from there as desired.
    20. Katrina_Linden
      Is there a possibility for merging nations?