1. Hi there Guest! You should join our Minecraft server @ meepcraft.com
  2. We also have a Discord server that you can join @ https://discord.gg/B4shfCZjYx
  3. Purchase a rank upgrade and get it instantly in-game! Minecraft Discord Upgrade

Towny Change: Plot Permissions

Discussion in 'Denied' started by CluelessKlutz, Aug 8, 2016.

  1. CluelessKlutz

    CluelessKlutz Badmin

    Offline
    Messages:
    2,996
    Likes Received:
    7,356
    Background
    Anyone who's been here a while knows I'm still the noobie around here; only joining the first time in Septemeber, not starting for real until late December. What only a handful of people know is what I did before Meep. The answer to that question is simple: Factions. While it seems odd for a hardcore factions warlord to switch to Towny, they're not incredibly different. But, who really wants to read my life story in Minecraft? On to the suggestion!
    Problem
    I don't know about the rest of you, but isn't it annoying trying to set only certain people to have perms for your plot? The system we have is very similar to the Factions permissions for enemy, ally, truce, recruit, member, officer, and leader. All you do is /plot (or /res) set perm (specific permission or relationship name) (relation name if you are setting a specific permission) on/off. The system works fairly well, but has some issues. The biggest is adding people to help you with something. If anyone needs a hand with breaking a spawner, and you don't want to throw your pick, they have to /res friend add you, and that makes them feel uneasy sometimes since you can then mess with things later if they forget to remove. Another example of this would be hiring a builder, but you really don't want them having access to your storage. Obviously, you could /plot set perm off, but then the people you actually trust can't do anything.
    Solution
    Believe it or not, the solution for this lies in the Factions plugin. Allow me to explain how permissions work in that. Firstly, you have the different ranks for people in your own faction: recruit, member, officer, and leader(essentially friend rank), your allies and truces (basically the same as "ally"), and then finally you have neutral and enemy (outsider). So you can set individual permissions for each relation individually, and it will affect all the land your faction owns. But, there's another way to "add" someone: /f access.

    Basically, /f access allows you add a single individual to a single plot with the same level of access as /plot set perm on. Let's say I have a little vault, and I only want my brother to have access to it. All I do is stand on the plot, and use /f access to add only him. All my other /f perm's (/res set perm) still affect it, but the access command allows my brother to use it without any restrictions.

    But, this isn't a lesson on how to use a Factions plugin, now is it? Basically, I would like to add /plot access. My idea of this would be /plot access (Username of person you wish to add) on/off. It would be plot specific, as well. This means if I want the same person to have access to my four-plot house, I would have to run the command while standing on each plot.
    FAQ
    -How does this benefit Towny?
    Essentially, this allows to you to grant access to a single user, rather than just anyone on your /res friend. It could be used to give that hired builder access to only the plots he/she is supposed to be working on, as well as allow only a few, individually selected people access to a plot with /plot set perm off enabled.

    -Would this be difficult to add?
    If I'm honest, it could be very easy, or very hard. I don't know the details of the plugins to say for sure. The basic code for it already exists in the Factions plugin, but I do not know enough about the subject to say if we could transplant it into the Towny plugin, and modify it.

    Thanks for reading!
     
    Kling, Draqq, metr0n0me and 1 other person like this.
  2. metr0n0me

    metr0n0me Legendary Meeper

    Offline
    Messages:
    3,158
    Likes Received:
    7,314
    YES. Maybe /plot access list to see a list of people who have access to your plot, /plot remove access to remove players, and /plot remove access all to clear the list?


    If these are implemented, 60-80% of towny grief ing cases can be resolved.
     
    2leah2 likes this.
  3. Draqq

    Draqq beans on toast

    Offline
    Messages:
    2,134
    Likes Received:
    3,942
    +1

    easy enough to do
     
    metr0n0me and kyle_docherty7 like this.
  4. CluelessKlutz

    CluelessKlutz Badmin

    Offline
    Messages:
    2,996
    Likes Received:
    7,356
    I actually forgot to mentioned that. There is already the sub-command for it: /f access list, and it already has another subcommand for removing, as well.
     
    metr0n0me likes this.
  5. Photoave12

    Photoave12 Popular Meeper

    Offline
    Messages:
    494
    Likes Received:
    246
    seems relatively simple from my experience...
     
  6. junelawnchaired

    junelawnchaired neat-o!

    Offline
    Messages:
    1,989
    Likes Received:
    4,050
    CluelessKlutz likes this.

Share This Page