Residence Permissions

Abandoned
Adding custom permissions to residence.
Very simple plugin adding temporary permissions to your Residences

Requires

Why the plugin

Residence Ticket

I use on my server rescreative, player entering residence get creative mode, then they can get items, and sell them using /sell command from essentials, so with this plugin i can remove permission to /sell on that residence.

Now with flag support You can create own flags giving player permissions, example flag preventing using mcMMO skills, or flag allowing LWC creation.

What does it do

Adds additional permissions to player on residence change.

Example Configuration

Negative Permissions doesn't work, you can set world flag "lwc" and set "-lwc" on residences.

config.yml:

debug:true # display debug in console, default: false

flags.yml - list of residence flags

emptynonusableandmore:
  desc: empty flag used to disable config recreate
  perms: []
lwc:
  desc: allow creating lwc protected blocks
  perms:
  - lwc.protect #LWC
magic:
  desc: enables magic in residence
  perms:
  - magicspells.cast.* #MagicSpells
mcmmo:
  desc: enables skills and abilities mcmmo mcmmo
  perms:
  - mcmmo.ability.*
  - mcmmo.skills.*

res.yml

res2: # residence  name
- example.permission # permission to add while player is on residence
rez5-test: # residence-subzone name
- someplugin.fly
- someplugin.warp
market-shop-player: # residence market, subzone shop, subzone player
- someplugin.perm

Commands

  • /resperm debug - toggle console debug
  • /resperm reload - reload configuration files
  • /resperm resreload - reload res.yml

Permissions

  • resperm.toggledebug - access to /resperm debug command

Future Idea

  • Replace - with . (still working on bukkit config pathSeparator problem)
  • Add more commands
  • Add more permissions
  • Add "perm" flag to set permissions only to player with this flag
  • Add predefined flags with permissions, example "market" flag will add permission to create/use trade signs.

How to install

  1. Drop jar into plugins folder.
  2. Run server

How to use

  1. open plugins/resperm/res.yml
  2. configure additional permissions to residences
  3. type in server console resperm resreload
  4. test it
  1. If something dosn't work, type in console resperm debug
  2. test it
  3. post new ticket with console output

Source

Included in jar

Known Bugs

  • Negative permissions doesn't work
  • Lots of overuse possibilities ;)
  • Residence doesn't fire event on player teleport, so after warp player still can have permission.

Suggestions

Do you like to change something? Create Ticket :) Have some idea? Create Ticket :)

Do you use some cool plugin? Commend your custom flags for it !

The Residence Permissions Team

profile avatar
  • 5
    Projects
  • 65.1K
    Downloads
Donate

More from Forge_User_27159865View all

  • Residence Fly project image

    Residence Fly

    • 12.7K
    • Bukkit Plugins

    Very simple plugin adding fly ability to your Residences

    • 12.7K
    • July 8, 2013
    • Bukkit Plugins
    • +1
  • FenceLamps project image

    FenceLamps

    • 3.6K
    • Bukkit Plugins

    Street lamps powered through fence from redstone circuits

    • 3.6K
    • November 20, 2012
    • Bukkit Plugins
  • Plots Generator - PlotGen project image

    Plots Generator - PlotGen

    • 24.0K
    • Bukkit Plugins

    Plots Generator - PlotGen

    • 24.0K
    • September 9, 2012
    • Bukkit Plugins
    • +2
  • ConnectFour Reloaded project image

    ConnectFour Reloaded

    • 1.7K
    • Bukkit Plugins

    Connect Four is a game in which the players drops wool from the top grid.

    • 1.7K
    • September 12, 2012
    • Bukkit Plugins
  • Residence Fly project image

    Residence Fly

    • 12.7K
    • Bukkit Plugins

    Very simple plugin adding fly ability to your Residences

    • 12.7K
    • July 8, 2013
    • Bukkit Plugins
    • +1
  • FenceLamps project image

    FenceLamps

    • 3.6K
    • Bukkit Plugins

    Street lamps powered through fence from redstone circuits

    • 3.6K
    • November 20, 2012
    • Bukkit Plugins
  • Plots Generator - PlotGen project image

    Plots Generator - PlotGen

    • 24.0K
    • Bukkit Plugins

    Plots Generator - PlotGen

    • 24.0K
    • September 9, 2012
    • Bukkit Plugins
    • +2
  • ConnectFour Reloaded project image

    ConnectFour Reloaded

    • 1.7K
    • Bukkit Plugins

    Connect Four is a game in which the players drops wool from the top grid.

    • 1.7K
    • September 12, 2012
    • Bukkit Plugins