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

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

  1. Offline

    youpko

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

    A simple plugin to set permission for players and groups.

    Requirments:
    • Bukkit Build 1185
    Features:
    • 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)

    Commands:
    • /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.
    Nodes:
    • 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
    Suggestions:
    • 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:
    WIKI
     
    1sucks likes this.
  2. Offline

    youpko

    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.
    Code:
     player.hasPermission("Permission.Node")
    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

    Supersam654

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

    youpko

    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

    Baklappetje

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

    youpko

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

    Rext

    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

    Zareh

    Thank you :)
     
  9. Offline

    dota333222

    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

    youpko

    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

    jarxcraft

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

    youpko

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

    544nick101

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

    youpko

    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

    azraeldestiny

    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 = GROUP =RED
    PLAYER = GROUP = BLUE

    [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

    youpko

    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

    iDewtoiD

    I just tried to download it and it says
    <Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>A38234D38DE8A6BF</RequestId>
    <HostId>
    LP3XWPgpGOT0P2JcuNn+L0cu9hY+VN8gkfBwpjlJioQTpIvsQ8ppFNZJYkYFtPtr
    </HostId>
    </Error>

    Anyone know what to do?
     
  18. Offline

    youpko

    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

    azraeldestiny

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

    youpko

    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

    azraeldestiny

    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
    java.lang.NullPointerException
    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

    youpko

    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

    azraeldestiny

    I have a new error to update 2.03

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

    youpko

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

    alaustin

    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.

    Thanks!
     
  26. Offline

    youpko

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

    AlexBrahhh

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

    TheScrapterWoot

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

    FrQcJean-LeCnR

    How do i set colored prefix ?
     
  30. Offline

    jeanmhall

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

    md_5

    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.
    md_5
     

Share This Page