Inactive [ADMN/DEV] Permissions 3.1.6 - The Plugin of Tomorrow [935]

Discussion in 'Inactive/Unsupported Plugins' started by rcjrrjcr, May 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

    Download:
    Latest Stable (3.1.6) : Full Zip | Main Jar Only | SQL Interface Jar Only

    Previous Versions:
    3.1.5 (JAR|SQL) | 3.1.4 (JAR|SQL) | 3.1.3 (JAR|SQL) | 3.1.2 (JAR|SQL) | 3.1.1 (JAR) | 3.1 (JAR) | More older versions


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


    DO NOT USE GLOBAL CONFIGS FOR NOW. THE GLOBAL CONFIG IS MEANT TO SUPPLEMENT WORLD-SPECIFIC CONFIGS, NOT THE OTHER WAY ROUND. SEE https://github.com/TheYeti/Permissions/wiki/Global-vs-World .I WILL WRITE A PROPER TUTORIAL ON HOW TO USE THE GLOBAL CONFIGS SOON.

    TODO:
    • Revamp commands
    Known plugins that cause IllegalAccessError(s):

    • Help (not fixed yet)
    Temp Fix for IAEs (open)




    1. Open Help's JAR with 7zip.
    2. Find MANIFEST.MF (it can be in the root folder or in the META-INF folder, or both).
    3. Open the MANIFEST.MF file in a text editor
    4. Look for a line that starts with "Class-Path:".
    5. Delete "Permissions.jar" from that line.
    6. Save the manifest.
    7. 7zip will prompt you to save changes back into the archive. Accept.
    8. Restart server.





    Plugin Authors: How to hook into Permissions

    Due to @TheYeti being busy in RL for now, I have created a new thread for Permissions 3.x. TheYeti is still part of the Permissions team.

    Permissions... Reborn.
    This is a continuation of the work that was originally done by Nijikokun. All original credit goes to them as without their work this plugin would not have been possible. This plugin does not provide any commands or additional functionality beyond what is described in this post. That means that you need another plugin to provide colored names, chat prefixes, and op commands such as /give and /time.​

    The Permissions Team

    The team consists of myself @rcjrrjcr and @TheYeti currently with contributions from @Nijikokun as well on occasion. There are also several other members of the community who frequently assist with providing code changes, bug fixes, patches, support, feedback, and beta testing. Special thanks to @flames and the Dynmap & Wormhole X-Treme teams for the hosting of Permissions on their Jenkins server.

    What's new in 3.x?

    Taken from the GitHub page:
    1. In-game commands. For a long time, users have been pestering, nagging, demanding and/or screaming for an way to manage Permissions via commands. Now, in 3.0, in-game commands are available to manage permissions and groups.
    2. SQL storage. This allows web interfaces to manage Permissions by updating the SQL database Permissions uses.
    3. Promotion/demotion tracks. With a simple command, users can be promoted/demoted along a preconfigured track, allowing RP servers with ranks to promote the player along a class track and other possibilities.
    4. Multigroup.
    5. Weightage. Plugins are able to compare users via their weight, which is inherited from their groups. For example, SlapPlugin can check if Player A is higher-weighted than Player B when A tries to slap B (Not IRL, obviously).
    6. Improved world mirroring. Config files are now split into a group file and a user file. Also, by editing storageconfig.yml, you can configure the mirroring of entire worlds, or just its users/groups. You also do not have to create files for worlds that mirror another world. Also, two different worlds can use different storage types, like YAML and SQL.
    7. Global permissions. Instead of having to resort to cross-world group inheritance, now all worlds inherit groups and users from the global permissions file. Also, the inherited groups/users can be overridden via editing the specific world's file.
    Upgrading from 2.x to 3.x







    I have written a guide on GitHub. This demonstrates how to convert 2.x-style configs to 3.0. The YAML-to-SQL converter are still in testing, but it can be downloaded from here. It's written in Perl. @Zgred has created a web version of the script located here. @omgneeq is working on an Web UI for SQL databases (Sorry about the previous statement that he was making a converter.)​


    Install (open)
    For the admins

    In case you missed the link above, the Setup Guide on GitHub will help you quite a bit

    Samkio has updated his tutorial for P3:


    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and create a folder named the same as your world. So if your world name from server.properties is Foo you will need to create the folder plugins/Permissions/Foo. You MUST rename it to whatever your world's name is or it will not work.

    Note, if you have your server maps all saved into a single directory then the initial setup will be somewhat different. Say your maps are arranged in the main directory like so: bukkit/mapfolder/world1, bukkit/mapfolder/world2, etc. Then inside of the plugin/Permissions directory you will need to create a folder called mapfolder and inside of that put the directories containing users.yml and groups.yml in there.

    Next, you will need to go in and add yourself to the users, just replace the user that is in there with your name. Make any other modifications that you need to. While making modifications make sure that you do NOT use tabs. These will break the YAML format and cause issues. Instead, each indent should be four spaces. If you want people who aren't in the Admin group to be able to reload the permissions plugin you need to give them 'permissions.reload' permissions within the config file.

    Permissions gives server admins great control, mostly in-game reloading. More info about commands can be found here.


    FAQ (open)

    [FAQ]

    [Q] What is with the version numbers? I can't keep up, it seems like every time I look there is a new version!
    [A] I use the GNU versioning system for my version numbers. So what this means is the version number should be read as Major.Minor.Revision. So for version 2.5.2 this would mean it is the 2nd Major version, the 5th Minor release in this version, and the 2nd revision. I tend to release bug fixes and anything that doesn't add functionality or will not break things as revisions. So generally you should be safe with just watching the major & minor numbers and only getting the revision if it fixes a bug specific to you. Technically 2.5.2 should have been released as 2.6 as it did add functionality, but this was below even a minor change so I released it as a revision.

    [Q] I am getting an error that it can't pass BLOCK_PLACED or BLOCK _BREAK events to Permissions. Fix it!
    [A] That's not a question. The reason why it can't place these is probably because the syntax of your Permissions file is all whacked out, or it is a different world and you don't have a config file for that world.

    [Q] What am I suppose to name the config file?
    [A] You need to name it the same as your world. So if you look in server.properties at "level-name" you will see a world name there. Rename your config file to the same thing as that. Make sure you keep the .yml extension at the end.

    [Q] Permissions are broken. Why can no one use commands? Why am I not an admin?
    [A] First off, make sure that your formatting is correct. Look at the format that the default config file uses. Yours should look like that. Do NOT use tabs. Use 4 spaces (IE. " " <-- Four of those things.). Also, whichever group you give the permission '*' to, do not have that group inherit permissions from anyone else. That is called overloading and it will break things. Also, this.


    [Q] Which one am I suppose to download and unzip to install this?
    [A] Download the main package, not the JAR only. Unzip the ZIP file. The JAR only downloads are simply there for people who are UPGRADING and do not need the default config file.

    [Q] I have done all of this and this doesn't work! I'm going back to GroupManager!
    [A] Well, there is probably the problem. Make sure that you delete EssentialsGroupManager.jar and EssentialsGroupBridge.jar as these don't play well with Permissions and will cause headache.

    [Q] When are you going to add <blah> <feature/command> into this already? You suck! Do what I want NAU PL0X!
    [A] Feature requests should be posted on the GitHub tracker. Stupid suggestions like adding teleportation functionality and other less ludicrous stuff will be rejected.



    Changelog
    • 3.1.6
      • Major fixes.
      • Simplify tracks
    Changelog (open)





    • 3.1.5
      • Fix several minor bugs.
      • Autoconvert 2.x/GM format (only works if you split them into groups.yml and users.yml, but leave the rest untouched)
    • 3.1.4
      • Fix YAML locking bugs.
    • 3.1.3
      • Fix another SQL data and inheritance issue.
    • 3.1.2
      • Fix SQL data issues.
      • Added user/group name autocomplete
      • Separated SQL interface into separate plugin
    • 3.1.1
      • Fix prefix/suffix issues.
      • Added ON UPDATE CASCADE to the SQL foreign [/SIZE]
    • 3.1
      • Tons of fixes.
    • 3.0.6
      • Fix SQLite issues due to misimplementation of methods.
    • 3.0.5
      • Fix cache-related NPEs
      • Fixed quoted worlds (thanks again @Jeyge !)
    • 3.0.4
      • Fix LinkageError caused by ServiceManager not unloading the PermissionHandler class.
      • Added cache
      • Fix index not being incremented when promoting (thanks @Jeyge !)
    • 3.0.3
      • Fixed another getGroup bug.
    • 3.0.2
      • Fixed getGroup bug.
    • 3.0.1
      • Fixed some NPE bugs.
    • 3.0
      • Total overhaul of Permissions. Adds many new features (see What's new in 3.0?).
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems








    Credits (open)


    TheYeti:
    Nijikokun - Without their original work this plugin would not be possible.​
    All of the members of the community that regularly provide support in this thread for Permissions​
    Rigby, Kainzo, DThielke, GoMySQL, sk89q, RightLegRed - For hanging out with me in IRC, tons of testing, and pushing me to improve on the code constantly and make changes to make this plugin constantly better and better, and in general being entertaining.​
    Everyone else on here and in IRC who provides support, feedback, assistance, plugins that have continued to support and integrate this, and in general makes my life a bit easier, THANK YOU!​

    rcjrrjcr:
    I would like to thank Joy , jamesg and omgneeq for staying in #permissions for long periods of time to test out 3.0, and help me find many coding mistakes I made, patiently waiting for the next build while I fixed the bugs. I appreciate SvenBrnn 's and GoMySQL(Geoff Winans on this forum) 's help that allow me to design and code the SQL interface, and the HeroCraft coding team for providing support and some priceless IRC quotes (Dgco). Also, I would like to thank Lycano for helping me in many different aspects. Last but not least, I would like to thank Nijikokun and TheYeti for developing P2, which was one of my core plugins when I was still a 14-year-old server admin that didn't understand Java, and was the base for 3.0. Without these people, 3.0 would never be possible.​


    If after reading through all of that you are still having issues do one of two things. If it is a provable bug, and you have things like screenshots or copies of startup, steps to reproduce, your craftbukkit build and the version this is running along with your config files then submit the bug on the issue tracker. If it is general help or support you are needing then post a reply to this thread and someone will try to help you.

    Old thread: Permissions v2.7.4
     
  2. Offline

    Q-byte1800

    Hi, im trying to make a rp server where most players can build/destroy most blocks, for instance, not allowing default to build/destroy 42 and 89, or the other way around -only destroying blocks 1 2 3 4 and 17. Is there anyway to do this with permisions, if not are there any plugins that can do that?
     
  3. Offline

    Tealk

    Hi i have a Problem with my Prefix, i use Herochat, and this is my Problem:
    I have set up that Guests become the Title "Wanderer"
    but if a Guest come online he/she have no Title, why?
    My settings are in the zip
     

    Attached Files:

  4. Offline

    unorthodox

    Okay I am getting the errors below and i don't know what to do to fix them, any and all assistance will be greatly appreciated. you all seem very knowledgeable and i'm hoping you can help me fix this mess.

    --------------------------------------------SERVER MESSAGE-----------------------------------

    151 recipes
    16 achievements
    11:57:25 [INFO] Starting minecraft server version Beta 1.7.3
    11:57:25 [INFO] Loading properties
    11:57:25 [INFO] Starting Minecraft server on *:25565
    11:57:25 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-
    g4ed23b1-b1060jnks (MC: 1.7.3)
    11:57:26 [SEVERE] java.lang.Exception: Freshly loaded world object does not exis
    t!
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.safeGetGroup(Mo
    dularControl.java:455)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.getGrp(ModularC
    ontrol.java:517)
    11:57:26 [SEVERE] at com.nijiko.permissions.User.<init>(User.java:27)
    11:57:26 [SEVERE] at com.nijiko.permissions.PermissionWorld.reload(Permiss
    ionWorld.java:62)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:98)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:114)
    11:57:26 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    11:57:26 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    11:57:26 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:146)
    11:57:26 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:110)
    11:57:26 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    11:57:26 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:133)
    11:57:26 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:337)
    11:57:26 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    11:57:26 [SEVERE] java.lang.Exception: Freshly loaded world object does not exis
    t!
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.safeGetGroup(Mo
    dularControl.java:455)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.getGrp(ModularC
    ontrol.java:517)
    11:57:26 [SEVERE] at com.nijiko.permissions.User.<init>(User.java:27)
    11:57:26 [SEVERE] at com.nijiko.permissions.PermissionWorld.reload(Permiss
    ionWorld.java:62)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:98)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    11:57:26 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:114)
    11:57:26 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    11:57:26 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    11:57:26 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:146)
    11:57:26 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:110)
    11:57:26 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    11:57:26 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:133)
    11:57:26 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:337)
    11:57:26 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    11:57:26 [INFO] [Permissions] (Yeti) was initialized.
    11:57:26 [INFO] [Permissions] version [3.1.6] (Yeti) loaded
    11:57:26 [INFO] Preparing level "world"
    11:57:26 [INFO] Preparing start region for level 0 (Seed: -4134458248060331008)
    11:57:27 [INFO] Preparing start region for level 1 (Seed: -4134458248060331008)
    11:57:27 [INFO] Preparing spawn area: 60%
    11:57:27 [INFO] [ChopTree] Using Permissions.
    11:57:27 [INFO] ChopTree 1.23 enabled!
    11:57:27 [INFO] CraftBukkitUpToDate version 2.6.1 is enabled!
    11:57:27 [INFO] RapidBuilder Enabled
    11:57:27 [INFO] [AdminCmd] Plugin Enabled. (version 5.7.11)
    11:57:27 [INFO] [AdminCmd] 2 kits loaded.
    11:57:27 [INFO] [AdminCmd] Successfully linked with Yeti's Permissions.
    11:57:27 [INFO] Server permissions file permissions.yml is empty, ignoring it
    11:57:27 [INFO] Done (0.170s)! For help, type "help" or "?"
    11:57:31 [INFO] CButD: CraftBukkit is up to Date
    11:57:37 [INFO] The automatic update-Check only work every 6 hours, the last che
    ck was 10 minutes ago.
    >
     
  5. Offline

    m5k

    It's not a config issue. I haven't edited the config, frankly, I haven't changed anything. It simply broke a few days after I upgraded to 1000. I've tried everything I could. There is NO fix for this.
     
  6. Offline

    jbing12040

    yes that would work, but for example...
    - 'mcmmo.*'
    - '-mcmmo.admin'
    - '-mcmmo.tools.*'
    - '-mcmmo.commands.*'
    - '-mcmmo.chat.adminchat'
    i want them to be able to use every permission of mcmmo besides those and it would be a pain and a half to list every other one out but those...your telling me there is no way to give back a permission to a higher class?
     
  7. Offline

    Madness

    Tried to use this plugin, dropped it because:
    1. Setting it up while using a mysql storage is near impossible (how do I add groups? how do I put ppl in groups?), possibly due to poor documentation
    2. I tried to make a yml config and convert it with the perl script, but that's an inane task, specially when I have to update the data, because I either rewrite the yml, wipe the table and reinput the whole config from scratch, or I have to jump through insane hoops just to get something done
    3. Incoherent syntax that is unique to this plugin
    4. Draconic error messages like
    Code:
    2011-08-16 20:53:52 [SEVERE] java.lang.NullPointerException
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.SqlStorage.checkConn(SqlStorage.java:325)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.SqlStorage.runQuery(SqlStorage.java:249)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.SqlStorage.getWorld(SqlStorage.java:126)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.SqlStorage.getUserStorage(SqlStorage.java:210)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.SqlStorage.getEntry(SqlStorage.java:146)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.SqlEntryStorage.create(SqlEntryStorage.java:206)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.data.CachedStorage.create(CachedStorage.java:92)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.User.(User.java:20)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.PermissionWorld.safeGetUser(PermissionWorld.java:106)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:440)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.ModularControl.getUsr(ModularControl.java:507)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.ModularControl.permission(ModularControl.java:265)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.ModularControl.permission(ModularControl.java:256)
    2011-08-16 20:53:52 [SEVERE]    at com.nijiko.permissions.ModularControl.has(ModularControl.java:249)
    2011-08-16 20:53:52 [SEVERE]    at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:64)
    2011-08-16 20:53:52 [SEVERE]    at com.gmail.nossr50.mcPermissions.herbalismAbility(mcPermissions.java:94)
    2011-08-16 20:53:52 [SEVERE]    at com.gmail.nossr50.skills.Skills.monitorSkills(Skills.java:138)
    2011-08-16 20:53:52 [SEVERE]    at com.gmail.nossr50.mcTimer.run(mcTimer.java:36)
    2011-08-16 20:53:52 [SEVERE]    at java.util.TimerThread.mainLoop(Timer.java:512)
    2011-08-16 20:53:52 [SEVERE]    at java.util.TimerThread.run(Timer.java:462)
    every time a player joins.

    I'm not gonna hate, but I strongly recommend to use something else until this is somewhat better handled.
     
  8. Offline

    m5k

    Problem is in users.yml
     
  9. Offline

    loki4321

    Does it work fully in bukkit [1060]?
     
  10. Offline

    m5k

    Found and eliminated the bug. Took me only 7 hours. users.yml got corrupt and on line ~2210 'groups:' randomly became 'Coo groups:'. Anyone else having the issue that everyone's posting either search for "Coo", look at lines between 2200 and 2300 or manually check every single line (like I did). One advantage you have over me is that at least you know what you're looking for.
     
  11. Offline

    MineCleric

    I have essentials and fayconomy and i can not use ichat to pirmission3.1.6:(

    Help me:)
     
  12. Offline

    nitroxygen

    I would really like to know if this works with CB #1060 and is this project being deactivated sine it has not been updated since 953
     
  13. Offline

    ACStache

    to be honest I'm not sure. I'd say if you have those in your member, and you want admin to have mcmmo.admin, jsut readd that specific one to admin again. Or is this something you've tried & it didn't work? if it didn't work, then I've no idea >.> sorry. I personally split everything up so just quickly glancing through the list I know what they do and don't have. but that's just me

    from brief testing on a test server, I've seen it working well. Permissions has very little to do with working with CB, so new builds are unlikely to break it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  14. Offline

    OZ4RK

    If someone could help me it would be so great. I'm really depressed, for some reason something is causing plugins to ignore permissions and use ops. players are still in they're groups with prefixes and suffixes, but all command use is based off op or not. WHAT IS CAUSING THIS!?
     
  15. Offline

    kamild1996

    How to configure SQL version? Where is config file where i can define SQL settings (host etc.)?
     
  16. Offline

    shamankingnoh

    HELP my permissions is messed up and i need help it says that the permissions unable to load permissions data and please hav a more simple explanation im a nub at this stuff
     
  17. Offline

    Scizzr

    Take off all those ˇs


    On another note, this needs to be fixed. Group mirroring is not working as it should.

    Maybe since this is finally marked INACTIVE, someone will step up and maintain this (since @rcjrrjcr hasn't been on in so long).
     
  18. Offline

    chrsquinn1

    i cant brake any blocks when this plugin is on.
     
  19. Offline

    oldjollysanta

    Have you added yourself to a different group yet? (other then default)
    Default, by default, is set to not allow block breaking/building. Try changing this from false to true in the config file or add username to the bottom of the config file as a admin
     
  20. Offline

    Leviathanx

    I'm left with no choice then to drop this plugin an switch. Very poor documentation and is not well updated by the author. Free or not, if you plan to not support your plugin, at least let us all know so we can find another one that's well updated. I've been using Permissions for a long time on my server and have never had the issues that i'm dealing with now. If anyone knows a really good permissions plugin that works similar to this an has support of the popular plugins (worldedit/guard, lwc, logblock, etc..) please let me know.
     
  21. Offline

    bastion

    Move to PermissionsEX.

    its not that well documented or for that matter that easy to set up, but once you get used to it I have found it easier that perms3.1.6. It took me about 4 hours to figure it out and get it up and running on all 3 of my servers. It works seemlessly with every plugin I use via its addon permissions 2/3 bridge.

    here is the link:

    http://forums.bukkit.org/threads/admn-dev-permissionsex-pex-v1-13-tomorrow-is-today-1000.18140/

    Good Luck.
     
  22. Offline

    timytam97

    here is my log (my errors):
    Code:
    151 recipes
    16 achievements
    08:37:35 [INFO] Starting minecraft server version Beta 1.7.3
    08:37:35 [INFO] Loading properties
    08:37:35 [INFO] Starting Minecraft server on *:25565
    08:37:35 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    08:37:36 [INFO] LWC     Loading shared objects
    08:37:36 [INFO] Cache   Protection cache: 0/10000
    08:37:36 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    08:37:36 [INFO] [Waypoint] Initialising configurations.
    08:37:36 [SEVERE] java.lang.NullPointerException
    08:37:36 [SEVERE]       at com.nijiko.data.YamlUserStorage.performConversion(Yam
    lUserStorage.java:42)
    08:37:36 [SEVERE]       at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:30)
    08:37:36 [SEVERE]       at com.nijiko.data.YamlCreator.getUserStorage(YamlCreato
    r.java:33)
    08:37:36 [SEVERE]       at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:76)
    08:37:36 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:95)
    08:37:36 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    08:37:36 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:116)
    08:37:36 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    08:37:36 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    08:37:36 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:131)
    08:37:36 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:97)
    08:37:36 [SEVERE]       at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    08:37:36 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:132)
    08:37:36 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    08:37:36 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    08:37:36 [SEVERE] [Permissions] Unable to load permission data.
    08:37:36 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    08:37:36 [INFO] [Permissions] (Yeti) was initialized.
    08:37:36 [INFO] [Permissions] (Yeti) disabled successfully.
    and my groups:
    Code:
    groups:
        player:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
             - 'tcl.tpc tcl.tpca'
             - 'tcl.tpcd'
             - 'towny.wild.*'
             - 'towny.spawntp'
             - 'towny.town.claim'
             - 'towny.town.new'
             - 'lwc.protect vote.voteno.*'
             - 'vote.voteyes.*'
             - 'vote.startvote.day'
             - 'vote.startvote.night'
             - 'vote.startvote.kick'
             - 'vote.setvalue'
             - 'waypoint.basic.teleport'
             - 'waypoint.warp'
        member:
          default: false
          info:
            prefix: '&1memb'
            suffix: ''
            build: true
          inheritance:
          - player
          permissions:
           - 'homesweethome.home.set'
           - 'homesweethome.home towny.nation.new'
        admin:
         default: false
         info:
             prefix: '&4Admin'
             suffix: ''
             build: true
         inheritance:
         - member
         permission:
          - '*'
    and my users:
    Code:
    groups:
        player:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
             - 'tcl.tpc tcl.tpca'
             - 'tcl.tpcd'
             - 'towny.wild.*'
             - 'towny.spawntp'
             - 'towny.town.claim'
             - 'towny.town.new'
             - 'lwc.protect vote.voteno.*'
             - 'vote.voteyes.*'
             - 'vote.startvote.day'
             - 'vote.startvote.night'
             - 'vote.startvote.kick'
             - 'vote.setvalue'
             - 'waypoint.basic.teleport'
             - 'waypoint.warp'
        member:
          default: false
          info:
            prefix: '&1memb'
            suffix: ''
            build: true
          inheritance:
          - player
          permissions:
           - 'homesweethome.home.set'
           - 'homesweethome.home towny.nation.new'
        admin:
         default: false
         info:
             prefix: '&4Admin'
             suffix: ''
             build: true
         inheritance:
         - member
         permission:
          - '*'
    but my permissions disable on my and i really need it because pretty much all my plug ins disable can anyone help me? plz
     
  23. Offline

    bsquidwrd

    It seems to me you posted the groups.yml file twice, as both files look exactly the same. Try deleting the users.yml file and let Permissions automatically regenerate the correct users.yml then try to edit them in your text editor of choice.

    In order to take away nodes from a certain user/group you can type the following:

    Code:
    - mcmmo.*
    - -mcmmo.admin
    - -mcmmo.tools.*
    - -mcmmo.commands.*
    - -mcmmo.chat.adminchat
    I have never had an issue with use an negative permission node. I hope this helps in some way or another. Good luck!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  24. Offline

    Tristan Addie

    Well I've been thinking about learning java, so originally a c/perl/xslt programmer, maybe I can offer my services :) and get this working.

    I can only get it to partially work i,e it populates the prWorlds table but doesnt resgister when a new player connects to the server under the prEntity table. Hoping to look at it on the weekend to see why.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  25. Offline

    ereldak

    Timytam Your file user.yml is the same than groups.yml ;) Fail inside

    I have an other problem with Permissions. I works with MySQL, all is perfect, except one point : I want the user goes by default into a group (Guest, id 20 in my db). I have two world-id, 1 (default) and 2 (world). In my table PrWorldBase, I have two lines, world-id 1/2 and defaultid 20. It doesn't work. Anybody know why? Is there any command to do it with in-game command (setting a default group)?

    Thanks.
     
  26. Offline

    Tristan Addie

    Hi ereldak what version are you using, as mysql seems to be a hit an miss :(
     
  27. Offline

    Tobbi

    Plzzz help!....... Today when i restarted my server permissions just stopped working, ive tried to update craftbukkit and the plugin but it still dosent work.....heres my groups.yml http://pastebin.com/TeHcmewG
     
  28. Offline

    ereldak

    I use latest Permissions (3.1.6), bukkit 1000 and MySQL 5
     
  29. Offline

    Tristan Addie

    tobi did someone update the server?
     
  30. Offline

    Tobbi

    I downgraded it to bukkit 1000 but still it dosent work, but now i think its an error in my groups yml, cuz it says like
    invalid bla bla bla columm 88 line 22
    - 'mobarena.arenas.cursedtemple'
     
  31. Offline

    killerbro


    the thing is... i had my self in The server owner in GLOBAL users, because i couldent build/delete then i put a 2nd me and put him in admin... who had all the permissions... i also put my brother in admins, then it STILL didnt work,
    so then i deleted the DEFAULT group and copyed it, so i could put it back if it didnt work... then, it didnt work, so i put the default in as MEMBER so that was default, and they could build when they joined... STILL NO WORK!
    so then i deleted my self from the GLOBAL USERS file, and then Played again... still... NOTHING... after that i just gave up. and the warp system i was using FINALLY WORKED. so i deleted permissions COMPLETELY. if you can figure out what the hell happened, then ill use this thing again... because, i like this plugin... my comp just doesn't like it... help is no longer needed, but if you can figure it out, ill be thankful.
     
Thread Status:
Not open for further replies.

Share This Page