1. Play on the ImDeity Minecraft Multiplayer server -- Goto the "Multiplayer" section of Minecraft and type "mc.imdeity.com" to join!
    Dismiss Notice

Dev update 1.6.2014 (CoMayors, Plot Permissions)

Discussion in 'Dev Blog' started by btarb24, January 7, 2014.

  1. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    CoMayors
    • Each town can have up to 3 mayors
    • /t set mayor command has been removed
    • /t promote and /t demote now work with mayors
    • Demoting the mayor that is King will assign a new King from the remaining mayors of the town
    • All mayors have equal permissions. There is no 'top mayor'.
    Plot permissions
    • example: /Plot set permissions USE P (sets the plot to have Public USE permissions)
    • You can now override the permissions on a single plot. This is useful for Town plots such as Farms, Vaults, RailRoads, etc.
    • Any resident can change the USE and EDIT permissions on the plots they own
    • ACCESS permission can only be changed by town staff
    Horses
    • Made it free to use /horse assign with anyone in your town
    • Removed the /horse release command
    • Made a minimum sell price of 100 dei at the horse market
    • You can no longer buy your own horses from the market
    • The Type of horse is now displayed in the results on /horse list
    Bug fixes
    • Wooden buttons weren't protected at all
    • Changing plot settings such as Pvp and Mob Spawning no longer require a server restart to take effect
    • When joining or leaving a town your TC channel would become incorrectly set until you relogged.
    Enhancements
    • Removed fees that were charged when you set your Res or Town ACCESS permission to any non-public value.
    • Cleaned up /Kingdoms prices
    • Added some chat message colors and improved phrasing - let me know if you find others that could use updated.
    • I now teleport you to server spawn if you're stuck in a plot that you do not have ACCESS permission to be in.
    • Total page count is now shown on town and resident ledgers
     
    Last edited: January 8, 2014
  2. SonnyBassPlayer

    SonnyBassPlayer

    • Sponsor
    Joined:
    May 21, 2012
    Messages:
    383
    Likes Received:
    676
    Trophy Points:
    548
    In-Game Name:
    SonnyBassPlayer
    Btarb, amazing work as always! The comeback of the plot perms is what I like most in this!

    I just have one question: without the /horse release command, the only way to get rid of a horse is now... killing it? Letting it despawn was a much softer way of doing that D:
     
    heinz_gruber and btarb24 like this.
  3. heinz_gruber

    heinz_gruber

    • Sponsor
    Joined:
    October 2, 2011
    Messages:
    873
    Likes Received:
    1,607
    Trophy Points:
    628
    In-Game Name:
    heinz_gruber
    Yes you can thank me for suggesting that to btarb sonny, and you can thank him for making it a reality.

    Now my town farms can be edited by the town for harvesting without giving them edit permissions for the entire town.
    And only town staff can edit the rest xD perfection.

    EDIT Dont you just love new permissions? I get all excited!
     
    Last edited: January 7, 2014
    btarb24 likes this.
  4. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    You can thank heinz and bcc for the plot perms.. they both sent me mail suggesting it as a feature enhancement :) I think Yogs & Barry also suggested it many months ago, but they request so many other features that some get forgotten :p

    Yea, the only way to get rid of a horse is to kill it now. Reasoning behind the change is that it had become common for people to use Release as a way to do free horse reassignments. The minimum price and blocking the purchase of your own horse was also to limit some other common exploits of the market. Free town reassignments was to help out towns that give a free horse to new residents.
     
  5. legoazurp

    legoazurp

    • Vip
    Joined:
    December 15, 2011
    Messages:
    874
    Likes Received:
    593
    Trophy Points:
    498
    In-Game Name:
    LEGOAP
    Yay, more mayors
     
    btarb24 likes this.
  6. cliff777

    cliff777

    • Gold
    Joined:
    April 17, 2011
    Messages:
    811
    Likes Received:
    688
    Trophy Points:
    598
    In-Game Name:
    cliff777
    So if I were to make you a co-mayor in my town, you could demote me?
     
  7. RyanRugenus

    RyanRugenus

    • Diamond
    Joined:
    April 15, 2011
    Messages:
    1,712
    Likes Received:
    1,188
    Trophy Points:
    663
    In-Game Name:
    RyanRugenus
    Yup just checked with an alt. I made it mayor and we had 2 mayors. Then I logged on and demoted RyanRugenus with alt.
     
    btarb24, DoCharlieBrown and cliff777 like this.
  8. DoCharlieBrown

    DoCharlieBrown

    • Diamond
    Joined:
    June 30, 2013
    Messages:
    520
    Likes Received:
    164
    Trophy Points:
    388
    In-Game Name:
    DoCharlieBrown
    The "Co-Mayor" part is nice but...
    the co-mayors can demote the actual mayor(the original mayor of the town before this update)?
     
  9. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    As ryan said, you can certainly get demoted by your other mayors. Each mayor has the same amount of power and there is no concept of an 'actual mayor'. When you're promoting someone to be mayor you're basically saying you're going to share full responsibility of the town with them. If a town matter occurs, the server staff will consider a ruling by any mayor to be absolute. The voice of all mayors does not have to be heard (with the possible extreme exception of town deletion). Promote wisely :)
     
    DoCharlieBrown likes this.
  10. DoCharlieBrown

    DoCharlieBrown

    • Diamond
    Joined:
    June 30, 2013
    Messages:
    520
    Likes Received:
    164
    Trophy Points:
    388
    In-Game Name:
    DoCharlieBrown
    Do Those new mayors need to be noble class too?I think its a yes as to the demote situation.
     
  11. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    Yup, they must be a Lord.
     
    SonnyBassPlayer likes this.
  12. bcc_chicago

    bcc_chicago

    • Gold
    Joined:
    April 1, 2013
    Messages:
    116
    Likes Received:
    62
    Trophy Points:
    283
    In-Game Name:
    bcc_chicago
    Firstly let me start by saying, thank you very much.

    I have a few questions.
    Is there a way to make the mob-spawning a default town setting?
    How do I take a horse off the market? I used to set it cheap and buy it from myself.
    Can I really go blind by your pure awesomeness?
     
  13. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    mobspawn: Yea that seems like a logical and fair request. There's one problem though.. in the database each Plot already has a mobspawn & explosions value. So, if we make them have a town setting then you'll already have it overridden on every plot. In order to have a clean migration path, i'd have to leave those existing settings in place. You'd be able to use /plot clear-permissions on a plot to make it inherit whatever the Town setting is. You'd have to do it on all your plots in order to have the town setting really have an effect though.

    Horse:
    • Wait 30 days for the sale to expire and the horse will be returned to you.
    • Set the sell price to that will get someone to buy it.
    • The reason there's not a command to remove your horse from the market is that it will allow for a free horse teleportation exploit: /horse sell .. /horse remove .. go to new location /horse claim.

    Lol, don't forget your sunglasses :cool:
     
  14. bcc_chicago

    bcc_chicago

    • Gold
    Joined:
    April 1, 2013
    Messages:
    116
    Likes Received:
    62
    Trophy Points:
    283
    In-Game Name:
    bcc_chicago
    Mobspawn: Ok i see the migration problem. I see two possible solutions.
    1. An initial value setting for new plots (not a default setting). It could work similarly to the /t set plot-price <amt>.
    2. Just change all the plots to default. I'm guessing most mayors will want 99% of them one way, with only a few exceptions.
    I like init val better because that would give the opportunity to include PvP & explosions in this change, as long as mayors know each new plot would cost 2500 with PvP on (500 for /p claim + 2000 for PvP). This would also give mayors the ability to change the settings, do bulk claims, then change it back. I also like this option cuz it is probably less work to code.

    My existing 1000+ plots are just how i want them anyway (zombie free). And yes that means I have entered that command 1000+ times. I even over claim wild just so they don't wonder in.
     
    btarb24 likes this.
  15. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    1: yea this would be part of the plan.
    2: likely wont do this one. I don't want to wipe out any plot settings that a mayor may have already set.

    I'll add in a /town clearAllPlotPerms command. This way towns that don't need their old plot settings can just wipe them away and just set it at the town level.

    I think i'll be excluding PVP from the town-wide settings.
     
    Typodestoyer likes this.
  16. BriarRose

    BriarRose

    • Sponsor
    Joined:
    July 3, 2013
    Messages:
    159
    Likes Received:
    74
    Trophy Points:
    283
    In-Game Name:
    BriarRose00
    I noticed that as a second Mayor I do not get the messages telling me how much taxes were deposited in the bank and who were unable to pay their taxes.
     
  17. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    Alrightie, i'll pass that along. It's also worth noting that currently only one mayor will receive their noble salary.
     
  18. BriarRose

    BriarRose

    • Sponsor
    Joined:
    July 3, 2013
    Messages:
    159
    Likes Received:
    74
    Trophy Points:
    283
    In-Game Name:
    BriarRose00
    So only one of the mayors will get paid?
    Is that done on purpose?
     
  19. btarb24

    btarb24

    • Developer
    • Sponsor
    Joined:
    February 27, 2012
    Messages:
    884
    Likes Received:
    1,524
    Trophy Points:
    588
    In-Game Name:
    btarb24
    Well, not exactly. The noble salaries are based on the amount of money the town brings in via taxes. This tax money is divided amongst the town staff. The code was checked to ensure that the comayor feature wouldn't be a way for towns to increase their income, but it was found that it was already coded to only pay a single mayor so it wasn't updated. The payment formulas will either need adjusted to accommodate multiple mayors, or simply changed so that additional mayors are treated as assistants.
     
  20. BriarRose

    BriarRose

    • Sponsor
    Joined:
    July 3, 2013
    Messages:
    159
    Likes Received:
    74
    Trophy Points:
    283
    In-Game Name:
    BriarRose00
    I wouldn't mind getting the Sr. Asst. salary
     
    Last edited: January 9, 2014

Share This Page