Git Product home page Git Product logo

droxperms's People

Contributors

hydrox avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

droxperms's Issues

add command to save to config files

Add a command for the admin to save the config files. That way, when checking things, you don't have to wait 5 min (or less) for the next save.

In addition, perhaps the default save could be increased to 10 min.

Manage Player-Permissions

The Players Permissions have to be assigned when they join and if they chang worlds they need to be updated.

Add Player Commands

Commands to change Player Permissions, Subgroups and the main Group need to be implemented

delete groups

Add possibility to delete groups and all references to the deleted group.

listperms change

powerfulkingt:
    group: mentor
    subgroups:
    - vipvet
    - ic
    - royalty

cp listperms powerfulkingt
14:01:46 [INFO] powerfulkingt has permission from group: mentor
14:01:46 [INFO] powerfulkingt has permission from subgroups: vipvet ic royalty builder vip veteran nobility reserve artisan mentor

This is showing inherited groups as well, can we get these displayed as inherited vs true subgroups? Not a high priority at all

Message for world specific perms given.

When a world is not in the config.yml worlds list, and you ask for perms to be given for that world, then DroxPerms gives the permission for the player in the default world, giving the standard success message.

I would like one of the following:

  1. error if the specified world in not in the list
  2. a warning message if the world that is selected by DroxPerms is different than the world requested
  3. the success message to indicate which world the permission is given for (if a world is specified)

individual world permissions not working

super pick axe is assigned to royalty only on creative, it works everywhere:

royalty:
    subgroups:
    - vip
    - nobility
    - reserve
    permissions:
        creative:
        - worldedit.superpickaxe

Add temporary Subgroups

Add temporard Subgroups.
Add command for giving temporary Subgroups.
Add API-method for giving temporary Subgroups.

incompatible with the latest CraftIRC

errors out with the following error:

2011-09-07 22:14:48 [SEVERE] Error occurred while enabling Multiverse-Core v2.0-b252 (Is it up to date?): null
java.lang.RuntimeException
at com.platymuus.bukkit.permcompat.PermissionHandler.(PermissionHandler.java:28)
at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:78)
at com.onarandombox.MultiverseCore.MVPermissions.(MVPermissions.java:34)
at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCore.java:140)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

incompatible with the latest MultiVerse

Errors out with the following:

2011-09-07 21:57:49 [SEVERE] Error occurred while enabling Multiverse-Core v2.0-b252 (Is it up to date?): null
java.lang.RuntimeException
at com.platymuus.bukkit.permcompat.PermissionHandler.(PermissionHandler.java:28)
at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:78)
at com.onarandombox.MultiverseCore.MVPermissions.(MVPermissions.java:34)
at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCore.java:140)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

exception fired when any cp command is issued

cp setgroup cjMason royalty
14:18:13 [INFO] Set group of player cjMason to royalty
14:18:13 [WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException: Unhandled exception executing command 'cp' in plugin DroxPerms v0.2.0-escapecraft-SNAPSHOT
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Caused by: java.lang.NullPointerException
at de.hydrox.bukkit.DroxPerms.DroxPerms.refreshPlayer(DroxPerms.java:138)
at de.hydrox.bukkit.DroxPerms.DroxPlayerCommands.onCommand(DroxPlayerCommands.java:105)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
... 7 more

autocomplete

Feature request, if the player is online, do autocomplete on the name so you don't have to type out the whole thing, also, if the player is not online, have it check the yml file as a secondary lookup. Failing both of those lookiups, I would request an error put out, and you can override with confirm in the command at the end, confirming you are putting a new name into the users file.

adding users as typo's

When doing donations, I noticed that if I typo the name when doing a cp listperms, even if its just a case-sensitive issue, it creates the user with the incorrect spelling, and then i can't modify the one with the correct case-sensitive syntax

I also need to be able to delete users from the console / in-game, or the ability to lock the users.yml file, edit it, then load it

per issue #10, auto-complete would be wondrous in resolving this if its easy to do

An easy "track" system

Someway to specify group A has group B above it and group C below it, so that calling /promote or /demote would move them up and down said track without needing to specify the actual group.

Would be useful for stats plugins to upgrade veterans or automate donator ranks.

Add Group Commands

Commands to change Group Permissions and Subgroups need to be implemented.

default config.yml

Suggestion: when creating a default config.yml, use the server.properties file for the name of the DefaultWorld.

Also, why is hub there by default?

Give response message to /cg new group

When using the /cg new group command, it executes, but gives no response. So it's easy to think the group has not been created. A message like: "Group <group_name> has been created." would be good.

can't find user in database via console or in game

cp listperms alex_be
00:06:44 [INFO] Could not find user matching input or found more then one user matching

mysql> select * from droxperms_players where PlayerName = 'alex_be';
+----------+------------+---------+
| playerID | playerName | groupID |
+----------+------------+---------+
| 36947 | alex_be | 16 |
+----------+------------+---------+
1 row in set (0.00 sec)
mysql>

The user is also a veteran, but it's not recognizing as such. He can't even do basic commands like /gs

Periodicly save data

up to now, Group and User data is only saved on reload/stop.
Implement auto-saving every x minutes.

Vault and Ontime Compatibility.

When a user is promoted with Ontime the groups is added as a subgroup and not as the maingroup. I hope you fix it because DroxPerms is a great plugin and i don't want to change it.

ensure deterministic behavior of permissions inheritance

rewrite getPlayerPermissions and getGroupPermissions to ensure Permissions-inheritance is deterministic if the following scheme.

Group-inheritances overwrite Subgroup-inheritances
Globalpermissions overwrite Group-inheritances
Worldpermissions overwrite Globalpermissions

changing an existing setinfo prefix

set a prefix for any player, then set it again. The following will happen:

cp setinfo eggster prefix drox
10:00:37 [INFO] Couldn't set info-node of player eggster
10:00:37 [INFO] Operation unsuccessfull. non-unique/non-existant username given?

yet the prefix is set.

stat tracking of groups

Easy way to run a report showing "Number of players per group, total number of players"

something like /droxperms report

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.