[ADMN/DEV] SM-PlayerManager v2.0.3 - Player Permission Manager [1185]

Discussion in 'Inactive/Unsupported Plugins' started by youpko, Aug 4, 2011.

  1. Offline


    SalesMan PlayerManager - A plugin that manage permissions for players.
    Version: v2.0.3

    A simple plugin to set permission for players and groups.

    • Bukkit Build 1185
    • Super Permissions.
    • Groups.
    • Player/Groups per world.
    • Set Build/Destroy/Fire for players.
    • Command to add players/groups.
    • Command to add nodes for player/groups.
    • Command to add Prefix's for player/groups/ and set colors
    Download PlayerManager.
    Source Code

    >>> Simple Setup Guide <<<

    Change Log:
    • Version 2.0.3
      • bug when adding NPC (Citizens plugin)
    Older: (open)

    • Version 2.0.2
      • Added changeable Prefix colors.
    • Version 2.0.1
      • Minor bug fixes
    • Version 2.0
      • SuperPermissions
      • Prefix support added
      • For Dev:
        • Easy just use SuperPerms so you don't have to use any API.
      • API Change
        • Permissions API
        • Prefix API
        • Data API
    • Version 1.0
      • Release

    >> Commands & Permission nodes <<
    Quick list: (open)

    • /pm check <player> <node> - This returns if the user has the permission.
    • /pm add <player> <group> - This add a user to a group.

    • /pm add <world> <player> <group> - This add a user to group in a specified world.
    • /pm create <group> - This creates a new group.

    • /pm create <world> <group> - This creates a new group in a specified world.
    • /pm set <player> <node> - This set a node for a player.

    • /pm set <world> <player> <node> - This set a node for a player for a specified world.
    • /pm setg <group> <node> - This set a node for a group.

    • /pm setg <world> <group> <node> - This set a node for a group for a specified world.
    • /pm deny <player> <node> - This set a deny node for a player.

    • /pm deny <world> <player> <node> - This set a deny node for a player for a specified world.
    • /pm denyg <group> <node> - This set a deny node for a group.

    • /pm denyg <world> <group> <node> - This set a deny node for a group for a specified world.

    • /pm prefix <player> - This returns the prefix for the specified player.
    • /pm preset <player> <prefix> - This set the prefix for the specified player.
    • /pm preset <world> <player> <prefix> - This set the prefix for the player in a specified world.
    • /pm presetg <group> <prefix> - This set the prefix for the specified group.
    • /pm presetg <world> <group> <prefix> - This set the prefix for the group in a specified world.
    • /pm prec <player> <color> - This set the prefix color for the specified player.
    • /pm prec <world> <player> <color> - This set the prefix color for the player in a specified world.
    • /pm prec <group> <color> - This set the prefix color for the specified group.
    • /pm prec <world> <group> <color> - This set the prefix color for the group in a specified world.
    • sm.pm.com - This node allows players to use the commands.
    • block.place - This node allows players to place blocks.
    • block.break - This node allows players to break blocks.
    • block.ignite - This node allows players to set blocks on fire.

    To Do:
    • Remove Node/Player/Group option (command)
    • Check group node.
    Currently working at:
    • Check group node
    • OP command catch
    • * node
    • Remove options
    • Nothing yet.
    BUGS?? Please post a issue here https://github.com/youpko/SalesMan-PlayerManager/issues so I can keep track of the bugs.

    For Developers:
    1sucks likes this.
  2. Offline


    Sorry But I don't understand your whole story
    This plugin uses Bukkit Permissions (SuperPerms). The only thing a plugin developer has to do is.
    and nothing more.

    Yes this is correct. that is what this plugin is build for.

    This part makes no sense at all. an API beyond the sandard SuperPerms API?? This plugin has still an API but a plugin developer has nothing to do with it. (if they want they can of course). the only thing they need is the code above.

    The plugin is designed for an easy usage. Server admins only have to use commands. and plugin developers only the code above.
    And one thing about SuperPerms they don't get saved. when a player logsout/disconnect the SuperPerms for that user are lost. This plugin saves the nodes for the player/group, and when a player logs in again this plugin passes the nodes to SuperPerms.
  3. Offline


    Why are you offering a separate API on top of the standard SuperPerms API?
  4. Offline


    Because when I released this plugin I didn't know the existence of SuperPerms. but when i found out I altered the plugin to support SuperPerms. but I didn't remove the API. leave the choice to the plugin developer. and in time a developer asked me to make it possible to store data for players/groups. So I made the DataHandler API.
    And this is why I didn't remove the API.
  5. Offline


    What do you add by the nodes to give them every permission?
    I tried the * but it doesnt work :(
  6. Offline


    This will be included in the next version.
  7. Offline


    Please Change the defalt command from /pm to something like /Pedit for Permissions Edit because I have a plugin for Private messaging so the command is /pm to private message so they are not compatble sadly. Possibly add this config. If you do this is one of the best plugins ever :p Thx man.
  8. Offline


    Thank you :)
  9. Offline


    Hello i would like to ask a quick Question. I did what your short setup said but both Groups In my case Admin and Normal, have the same commands which is all. how do i change that?
  10. Offline


    Do you mean that an player in the group normal can execute the command only admins should have?
    If that is your case go to the "group.yml" and remove by normal "sm.pm.com" node.
  11. Offline


    every time i start bukkit, it says that it was initialized but all the plugins say "No permission plugin detected"
  12. Offline


    Ok the plugins schould use super perms, or they should be specific made for the this plugin other wise it wont work.
  13. Offline


    dose this work like permissions x3 with superperms or what
  14. Offline


    Yes that is exactly what this does it manage permissions for players/groups and set those in super permissions so other plugins can easily use those permissions.
  15. Offline


    Hi, first of all to thank the creator of the MOD and it's great.

    I would like to ask a question in general the mod to see if in the future or now can be performed. My question is this

    You can change the color name prefix?

    The mod is set by default all groups are red

    It could create for example:

    [admin] Azrael = Hi Raizo
    [player] Raizo = Hi GM

    If this can be done as it could set up? could also set the color in groups of worlds?
  16. Offline


    This is not possible yet, but i am working on this.

    It is now posible in version 2.0.2. Check the first post how. or you can check the wiki.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  17. Offline


    I just tried to download it and it says
    <Message>Access Denied</Message>

    Anyone know what to do?
  18. Offline


    try on the link: right mousebutton > save as
    Maybe that works.

    I will try to find the problem cause the link to break.
  19. Offline


    I download the new version but the .jar are broken and not found (1KB)
  20. Offline


    The download schould be possible now (still the access denied but the file size is ok)

    Download is working normal again ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  21. Offline


    Thanks for upload and upgrade the mod :)

    Now it is easier to organize the server by adding colors to the players or groups.

    We also discuss a new problem has arisen me when adding a new plugin "CITIZENS" to add npcs sellers server.

    The problem arises when you create a npc, besides I can not give permission for VIP players to create npcs.

    You would know how to fix this error? will thank you forever

    2011-09-29 18:47:57 [INFO] [Citizens] NPC types loaded: blacksmith, guard, healer, quester, trader, wizard
    2011-09-29 18:47:58 [INFO] [Citizens] version [1.1] loaded.
    2011-09-29 18:47:58 [INFO] Done (0,670s)! For help, type "help" or "?"
    2011-09-29 18:47:58 [INFO] Reached end of stream
    2011-09-29 18:47:58 [SEVERE] Could not pass event PLAYER_TELEPORT to SalesMan PlayerManager
    at com.salesman.pm.handlers.PermissionHandler.setSuperPerm(PermissionHandler.java:268)
    at com.salesman.pm.listener.PlayerTeleportListener.onPlayerTeleport(PlayerTeleportListener.java:17)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:300)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:269)
    at net.citizensnpcs.resources.npclib.NPCSpawner.spawnNPC(NPCSpawner.java:32)
    at net.citizensnpcs.resources.npclib.NPCManager.register(NPCManager.java:162)
    at net.citizensnpcs.Citizens.setupNPCs(Citizens.java:308)
    at net.citizensnpcs.Citizens.access$000(Citizens.java:63)
    at net.citizensnpcs.Citizens$2.run(Citizens.java:135)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
  22. Offline


    Version 2.0.3 Fixed the problem. The log will display a warning but everything is ok ;).
    This occurd because when you create a NPC it teleports in to the world. and PlayerManager didnt like that.
  23. Offline


    I have a new error to update 2.03

    00:00:43 [WARNING] [SM-PM] #100 Permissions Update impossible. !Update Stoped!
  24. Offline


    If you create a NPC and you got this warning than it is ok.
  25. Offline


    Hi there,

    I've installed your plugin and it's working great so far. I can add users to groups and create groups. But however, I created a group with every permission but the ability to use commands. I added my friend to that group and he can still use "time set 0", and "give user x". I haven't tested other commands. Do you know why the commands aren't being denied? I check the folders and they are clearly in the deny section.

  26. Offline


    He can still use commands because these are OP commands and this plugin doesnt catch those (yet ;))
    I will work on that.
  27. Offline


    This is exactly what i have been after thank you kindly :D
  28. Offline


    Sorry for stupid Q. But how can i change prefix colour?? Need help!
  29. Offline


    How do i set colored prefix ?
  30. Offline


    What is a node !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
  31. Offline


    Long time no see youpko. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.

Share This Page