Inactive [ADMN/DEV] PermissionsEx (PEX) v1.19.5 - Tomorrow is Today! [1.4.6-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by t3hk0d3, May 21, 2011.

  1. Offline

    t3hk0d3

    [​IMG]
    Version: 1.19.5

    PLEASE USE BUKKIT-DEV FORUM FOR DISCUSSION/HELP
    http://dev.bukkit.org/server-mods/permissionsex/
    THANKS IN ADVANCE.

    PermissionsEx (PEX) is a new permissions plugin, based on Permissions ideas and supports all of its features. But PEX is more! It offers different backends, powerful ingame management, fine grained restrictions for world modification.

    [​IMG]

    Current features
    1. Bukkit Permissions (SuperPerms) compatible.
    2. Several backend support. Currently bundled backends is File (YAML) and SQL (MySQL, SQLite). Also it's possible to add your own.
    3. YAML backend, with new, fully rethinked, config schema. Now all user, groups and their permissions are stored in one file - permission.yml. BTW file name is adjustable too.
    4. SQL backend, most delicious. Currently MySQL and SQLite supported, but other DB (like Postgre) are possible too. PEX deploys the DB scheme (tables and initial data) automatically. This means, that you only need to provide data on how to connect to the db, everything else PEX will handle by itself.
    5. Flexible architecture and API - you can change a lot programmatically.
    6. Compatibility layer with TheYeti's Permissions (2.7.4) (as a separate part of the plugin). In most cases plugins, which use Permissions, will alsowork with PEX also.
    7. Rich chat/console command interface. You can do almost everything ingame. Command list below.
    8. Modifyworld - Embedded restrictions mechanism (we call it "modifyworld"), which provides the possibility to control players abilities, such as destroying/placing blocks, riding carts/boats or even getting spotted by mobs and much more. Disabled by default.
    9. Multigroup inheritance. User, as well as Group, can be member of several groups. And inherit their permissions, options and prefix/suffix.
    10. Permissions based upon Regular Expressions. This mean you can use regular expressions. Example: modifyworld.blocks.(destroy|place).(3|12) - this permission allow place or destroy only sand (12) or dirt (3) blocks. There is still limitation on dot usage in your regexps - dots are escaped by default.
    11. Multiworld permissions. Just don't specify world and permission would work in any world.
    12. Multiworld inheritance. You can inherit different groups in different worlds.
    13. Easy migration from Permissions 2.x. Converter for both YAML and SQL are embedded into PermissionsCompat. Just use simple instruction.
    14. Perfomance friendly. Low-level caching helps alot when you have 100+ online users :)
    15. Promotional/Demotional system. You can assign ranks to groups and promote/demote users to higher/lower ranked group.
    16. World-inheritance - permissions/option of one world can be inherited by another world.
    17. Timed Permissions - you can give user permission only for some amount of time.
    18. Chat Manager - small chat plugin, bundled with PEX. With prefixes/suffiex and colors. Check wiki for more details.


    Documentation
    Wiki

    Basic setup tutorial (Thanks to lycano)

    Nice tutorial made by Bennetman


    Download
    Stable version

    Development version (mostly stable) - always lastest dev build.

    Sources
    https://github.com/PEXPlugins

    Builds
    http://webbukkit.org:8080/

    Maven Repository
    http://repo.tehkode.ru/browse/ru.tehkode

    IRC
    Join us on #permissionsex, irc.esper.net. Feel free to ask any related questions.

    Tools !NEW!
    Pex Auto-Setup Tool - MySQL and FlatFile !


    Changelog
    Show Changelog (open)
    v1.19.5
    Proper intervals for timed commands (both group/permissions management), without pesky seconds calculations (like /pex user t3hk0d3 timed add cool.permission 10days)
    Bugfixes.
    1.4.6 compatibility.


    v1.19.4
    Built for Bukkit 1.4.2-R0.1
    Added inventory permissions (modifyworld.items.put/take.<item>.of.<chest>)
    Added item hold permission (modifyworld.items.hold.<item>)
    Sdded monster egg spawn permission (modifyworld.spawn.<creature>)
    Few other minor fixes
    v.1.19.3
    Modifyworld improvements (configurable messages, now independent from PEX)
    /pex help command
    Minor improvements and bugfixes
    v.1.19.2
    New modifyworld permissions
    Some bugfixes
    v.1.19.1
    Bugfix release
    v1.19
    Bukkit R6 compatible.
    Several bugfixes!
    Permissions now case-insensetive.
    v1.18
    Users logging and cleanup feature.
    Non-inheriting nodes feature.
    Several Bugfixes.
    PermissionsCompat is finally remove from default bundle.
    v1.17
    User/group specific management permissions (permissions.manage.group.Admin)
    Fixed some superperms compatibility issues
    Fixed several bugs
    v1.16
    SuperPerms compatbility bridge were rewritten - no lags anymore and now with debug output (now you can view superperms checks).
    Numerous of bugs were fixed (Thanks you guys for reporting them)
    Modifyworld were improved (modifyworld.item.use)
    v1.15
    Compatiblity for 1317+
    Fixed perfomance issues with SuperPerms (if you still experience they try to disable "raw-permissions" in config.yml)
    Fixed issue with prefix inheritance
    v1.14
    Improved Options mechanism.
    Auto saving new users feature, disabled by default.
    SuperPerms bridge improved - more permissions supported by wildcards.
    File backend dumping now fully functional. SQL dumping is still bogus (do not dump world-specific inheritance and prefixes), will be fixed soon.
    Many bugfixes and minor improvements.
    v1.13
    Superperms (BukkitPerms) support
    Multiworld inheritance and prefixes/suffixes
    Groups weighting
    ChatManager, chat plugin which bundled with PEX.
    Modifyworld now separate plugin, but still bundled with PEX.
    API changed slightly, CustomEvents (PermissionsEntityEvent, PermissionsSystemEvent) introduced.
    Many lesser improvements and tons of bugfixes.
    v1.12
    API get slightly improved
    Ranking ladders.
    User/group name case-insensetivity.
    World-inheritance.
    Timed permissions.
    Modifyworld rules are get improved.
    Tons of minor improvements and bugfixes.
    v1.11
    Many bugfixes and improvements.
    MySQL connection stability improved - reconnection mechanism.
    v1.10
    Promotional/Demotional system.
    Perfomance improvement, with new low-level caching system (thx Joy)
    Modifyworld improved.
    Many lesser improvements and bugfixes.
    v1.06
    New p2compat backend, for easy migration from Permissions 2.x to PEX.
    v1.05
    Users/Groups dumping (pex dump <backend> <file>).
    New commands pex promote/demote. Actually this is just aliases for "pex user group set/remove"
    Few bugfixes.
    v1.04
    Players now can be informed about changes (has been added to group, changed permission/option). Disabled by default - set "permissions.informplayers.changes" to "true"
    Config node "permissions.verbose", which responsible for player informing about modifyworld restrictions has been renamed to "permissions.infromplayers.modifyworld".
    Autocomplete has been improved.
    New command "pex config <node> [value]". This command help to manipulate configuration file (config.yml) from console/chat interface.
    Many bugfixes.
    v1.03
    Autocomplete for users (taken from registred users and online users) and groups names.
    New command for user removing (pex user <user> delete)
    Fixed several nasty bugs. Thanks for bugreports!
    v1.02
    Compatibility layer loading order issue fixed. Now most of plugins should work.
    Tested with new CB 803 build.
    v1.01
    Regular expression permissions support.
    Newer permissions now added above (bugfix).
    Several bugfixes.
    v1.00
    Initial public release.
     
    BRampersad, grid21, MrRazull and 71 others like this.
  2. Offline

    SuzyMC



    I have found a couple of small things:
    1. prefix not perfix
    2. you don`t need inheritance set for default group, also set it in that format wherever you use it:
    inheritance:
    - default
    3. I don't think build: true is correct to use, in mine, I have:
    - essentials.build.*
    4. Leave out default: false it`s not needed. default:true is enough on default group.
    5. A useful addition would be adding ranks to the groups, this will enable you to use /pex promote user - makes life a lot easier. To do this, just add to each group after permissions:
    options:
    rank: '900'
    The group with the lowest number will get the highest priority so set your owner group to 1 :)

    Make sure you use notepad++ for editing and don't have any tabs in your config file.
    If something is not behaving the way it should just watch the console for the messages. If a permission node is missing it tells - this helped me a lot to set mine up.

    Hope you will find that useful :)
     
    Zath137 likes this.
  3. Offline

    grid21

    Is it going to be updated to 1.5?? I need it! lol
     
  4. Offline

    grid21

    Also to is this project still being worked on, on Bukkit Dev? If not, who is working on it? Is open for development for other people to take on the project?

    Let me know! Please and thank you!
     
  5. Offline

    Netzgeist

    My workaroung while we're waiting:

    Use current PermissionsEX, delete modifyworld.jar. Install Essentials(the dev build) + EssentialsAntiBuild. Add this permission to any group that should be able to build/break/use mechanics:
    Code:
    - essentials.build.*
     
  6. Offline

    nastasescu

    Congrats developer!
    Best plugin evah!
     
  7. Offline

    CaelThunderwing

    is it possible to give my mods use of the vanilla /gamerule without making them op's?
     
  8. Offline

    minenine1255

    hay i am just getting into this plugin and cant seem to get my members to be able to build i am using the - modifyworld.* but they just can do antthing
     
  9. Offline

    Deseart27

    Hello,
    PEX just don't run on my 1.5 server.. :/
    Permissions don't affect players, and I hate other permissions plugins.
    Any update in sight ?
     
  10. Offline

    marcosds13

    What is This error?
     
  11. Offline

    pepper82

    How can I achieve this:

    Setting a new prefix for a user in permissionsex with this command (plugin: serversigns):
    /svs add *pex user <player> prefix &0(&aMyPrefix&0) &7
    But I can't get the color codes to work, they just get removed. Any idea how to set a prefix in permissions.yml with serversigns + color codes?
     
  12. Offline

    Zath137

    Thanks alot :D
     
  13. Offline

    SuzyMC

    I have PEX running on mine - its 1.5.1 -no problems so far...
    if you would like to check it out its suzymc.co.uk (best to see at night as it is really busy during the day)
     
  14. Offline

    deshadowc

    Sorry if this has been asked before but I can't find a way to make one group's suffix override another. Basically One of our ranks is a donator which another plugin will automatically check and assign every five minutes to those who have donated, which gives a certain suffix. Our admins group doesn't wish to have this suffix show when they're in both groups. Is there a way to make the admins suffix override the donator one?
     
  15. Offline

    TurkeyGirl09

    First of all I would like to say this is a very amazing plugin, I used it on my first server and it worked beautifully allowing me to set up complex ranks quite easily. Unfortunatly my server crashed and I had to locate a new server host. Now I cant seem to get the rank part of the plugin to work, it will let me create the ranks but there is no change when I add a player to them, it says the player is now that rank but when I type the rank is not there and nothing has changed.
    Please help I have to launch my server quite soon and cannot, as the plugin is not working.
    Thanks :D
     
  16. Offline

    pepper82

    I am getting this error since the latest crafbukkit dev build:

    2013-04-02 02:24:39 [SEVERE] Could not pass event InventoryClickEvent to Modifyworld v1.19.4
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:1177)
    at net.minecraft.server.v1_5_R2.Packet102WindowClick.handle(SourceFile:31)
    at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292)
    at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110)
    at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
    at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30)
    at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578)
    at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225)
    at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474)
    at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407)
    at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
    at net.minecraft.server.v1_5_R2.InventorySubcontainer.getItem(InventorySubcontainer.java:21)
    at org.bukkit.craftbukkit.v1_5_R2.inventory.CraftInventory.getItem(CraftInventory.java:49)
    at ru.tehkode.modifyworld.handlers.PlayerListener.onPlayerInventoryClick(PlayerListener.java:191)
    at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    ... 14 more

    How to fix it?
     
  17. Offline

    TMAN93436

    You cannot use PEX with 1.5 yet.
     
  18. Offline

    dxwarlock

    Yes you can, I've been running PEX on 1.5 and then 1.5.1 for about a month.
    Perhaps its modifyworld that has an issue, as I've never had a need for that jar myself and remove it.
     
  19. Offline

    MrFrostmaul

    When is this plugin going to update! - Its been ages and tons others like GroupManager been updated for ages
     
  20. Offline

    dxwarlock

    whats wrong with it MrFrostmaul?
    Seems to be working fine here for 1.5.1 using 1.19.5 version with us having 51 plugins, none have an issue so far.

    Just rechecked the ModifyWorld here (to test the above problem) and it seems to work fine also.

    try 1.19.5 its the newest release (relatively speaking)

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

    HavenMC

  22. Offline

    xXRoboJackXx

    Is this compatible with spout?

    Ignore this, I think it's modifyworld that's messing up.
     
  23. Offline

    Kithsom

    I only have one question, Where is the Chat manager Permissions file? I can't get chat manager up and running
    this is the last bit of code that involves activating this mod when I turn on my server.
    17:26:43 [INFO] [Modifyworld] Enabling Modifyworld v1.19.4
    17:26:43 [INFO] [Modifyworld] Modifyworld enabled!
    17:26:43 [INFO] [ChatManager] Enabling ChatManager v1.19.1
    17:26:43 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    17:26:43 [INFO] [ChatManager] Disabling ChatManager v1.19.1
    17:26:43 [INFO] [ChatManager] ChatManager disabled!
    17:26:43 [INFO] Server permissions file permissions.yml is empty, ignoring it
    17:26:43 [INFO] Done (2.062s)! For help, type "help" or "?"

    *Edit: Nevermind, I discovered that my chat Manager kept disabling itself, I think it does it every time I edit the permissions.yml file outside of the consule
     
  24. Offline

    xXRoboJackXx

    I do have an error with PEX ever since I switched to spout, I keep getting this error when I do something with PEX like promote someone:
    01:15:31 [WARNING] [PermissionsEx] Unknown server implementation being used!
    01:15:31 [WARNING] [PermissionsEx] No Permissible injector found for your server
    implementation!
    And now it seems none of the permissions work. Any help would be appreciated.
    Thanks in advanced.

    P.S. It also happens when I do /pex reload
     
  25. Offline

    luckydog32

    Hey does anyone know how to set up the timed permissions? Also if there is some sort of plugin that promotes users ranks when the complete events? Thanks!
     
  26. Offline

    snivell

    I <3 this plugin. :3
     
  27. Offline

    pomarf

    I'm having a couple issues.
    First off, here's my error log.

    Code:
    [GUI]Starting vanilla server - min. RAM:128 - max. RAM:1024
    [GUI] The server is starting...
    [GUI] Server started...
    229 recipes
    27 achievements
    3:36:19 AM [INFO] Starting minecraft server version 1.5
    3:36:19 AM [INFO] Loading properties
    3:36:20 AM [INFO] Default game type: SURVIVAL
    3:36:20 AM [INFO] Generating keypair
    3:36:20 AM [INFO] Starting Minecraft server on *:25565
    3:36:20 AM [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-30-g55b5fb7-b2662jnks (MC: 1.5) (Implementing API version 1.5-R0.1-SNAPSHOT)
    3:36:21 AM [INFO] [PermissionsEx] sql backend registered!
    3:36:21 AM [INFO] [PermissionsEx] file backend registered!
    3:36:21 AM [INFO] [PermissionsEx] PermissionEx plugin initialized.
    3:36:21 AM [INFO] [Trade] Loading Trade v0.5.5b
    3:36:21 AM [INFO] [Mossifier] Loading Mossifier v2.1
    3:36:21 AM [INFO] [BlockDisguise] Loading BlockDisguise v1.3.2
    3:36:21 AM [INFO] [PermissionsEx] Loading PermissionsEx v1.19.5
    3:36:21 AM [INFO] [PermissionsEx] Initializing file backend
    3:36:21 AM [WARNING] Error loading permissions file:
    while parsing a block mapping
    in "<string>", line 2, column 4:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 28, column 5:
    permissions:
    ^
    java.lang.IllegalStateException: Error loading permissions file
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:249)
    at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:84)
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:425)
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:487)
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:54)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:68)
    at org.bukkit.craftbukkit.v1_5_R1.CraftServer.loadPlugins(CraftServer.java:244)
    at org.bukkit.craftbukkit.v1_5_R1.CraftServer.<init>(CraftServer.java:217)
    at net.minecraft.server.v1_5_R1.PlayerList.<init>(PlayerList.java:55)
    at net.minecraft.server.v1_5_R1.DedicatedPlayerList.<init>(SourceFile:11)
    at net.minecraft.server.v1_5_R1.DedicatedServer.init(DedicatedServer.java:105)
    at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:381)
    at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in "<string>", line 2, column 4:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 28, column 5:
    permissions:
    ^
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:232)
    ... 12 more
    Caused by: while parsing a block mapping
    in "<string>", line 2, column 4:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 28, column 5:
    permissions:
    ^
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    ... 15 more
    3:36:22 AM [INFO] [Modifyworld] Loading Modifyworld v1.19.4
    3:36:22 AM [INFO] [MushroomJump] Loading MushroomJump v1.5
    3:36:23 AM [INFO] [SecureChests] Loading SecureChests v0.7.3
    3:36:23 AM [INFO] [HeadDrops] Loading HeadDrops v1.6
    3:36:23 AM [INFO] [SilkierTouch] Loading SilkierTouch v2.2
    3:36:23 AM [INFO] [ChatManager] Loading ChatManager v1.19.1
    3:36:23 AM [INFO] Preparing level "pomarf"
    3:36:23 AM [INFO] ----- Bukkit Auto Updater -----
    3:36:23 AM [INFO] It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    3:36:23 AM [INFO] If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
    3:36:23 AM [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    3:36:23 AM [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    3:36:23 AM [INFO] ----- ------------------- -----
    3:36:23 AM [INFO] Preparing start region for level 0 (Seed: -1301299885058669366)
    3:36:23 AM [INFO] Preparing spawn area: 4%
    3:36:24 AM [INFO] Preparing spawn area: 8%
    3:36:25 AM [INFO] Preparing spawn area: 16%
    3:36:26 AM [INFO] Preparing spawn area: 25%
    3:36:27 AM [INFO] Preparing spawn area: 33%
    3:36:28 AM [INFO] Preparing spawn area: 41%
    3:36:29 AM [INFO] Preparing spawn area: 70%
    3:36:30 AM [INFO] Preparing spawn area: 78%
    3:36:31 AM [INFO] Preparing spawn area: 87%
    3:36:32 AM [INFO] Preparing spawn area: 95%
    3:36:33 AM [INFO] Preparing spawn area: 99%
    3:36:33 AM [INFO] Preparing start region for level 1 (Seed: -1301299885058669366)
    3:36:34 AM [INFO] Preparing spawn area: 49%
    3:36:35 AM [INFO] Preparing start region for level 2 (Seed: -1301299885058669366)
    3:36:35 AM [INFO] Preparing spawn area: 20%
    3:36:36 AM [INFO] [Trade] Enabling Trade v0.5.5b
    3:36:36 AM [INFO] [Mossifier] Enabling Mossifier v2.1
    3:36:36 AM [INFO] [BlockDisguise] Enabling BlockDisguise v1.3.2
    3:36:37 AM [INFO] [PermissionsEx] Enabling PermissionsEx v1.19.5
    3:36:37 AM [INFO] [PermissionsEx] Initializing file backend
    3:36:37 AM [WARNING] Error loading permissions file:
    while parsing a block mapping
    in "<string>", line 2, column 4:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 28, column 5:
    permissions:
    ^
    java.lang.IllegalStateException: Error loading permissions file
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:249)
    at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:84)
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:425)
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:487)
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:54)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:74)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.v1_5_R1.CraftServer.loadPlugin(CraftServer.java:282)
    at org.bukkit.craftbukkit.v1_5_R1.CraftServer.enablePlugins(CraftServer.java:264)
    at net.minecraft.server.v1_5_R1.MinecraftServer.j(MinecraftServer.java:303)
    at net.minecraft.server.v1_5_R1.MinecraftServer.e(MinecraftServer.java:282)
    at net.minecraft.server.v1_5_R1.MinecraftServer.a(MinecraftServer.java:242)
    at net.minecraft.server.v1_5_R1.DedicatedServer.init(DedicatedServer.java:150)
    at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:381)
    at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
    Caused by: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in "<string>", line 2, column 4:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 28, column 5:
    permissions:
    ^
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
    at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
    at ru.tehkode.permissions.backends.FileBackend.reload(FileBackend.java:232)
    ... 16 more
    Caused by: while parsing a block mapping
    in "<string>", line 2, column 4:
    default:
    ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 28, column 5:
    permissions:
    ^
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    ... 19 more
    3:36:38 AM [INFO] [Modifyworld] Enabling Modifyworld v1.19.4
    3:36:38 AM [INFO] [Modifyworld] Modifyworld enabled!
    3:36:38 AM [INFO] [MushroomJump] Enabling MushroomJump v1.5
    3:36:38 AM [INFO] [MushroomJump] MushroomJump enabled
    3:36:38 AM [INFO] [SecureChests] Enabling SecureChests v0.7.3
    3:36:38 AM [INFO] [SecureChests] SQLite database connection successful.
    3:36:38 AM [INFO] [SecureChests] 0.7.3 enabled.
    3:36:39 AM [INFO] [HeadDrops] Enabling HeadDrops v1.6
    3:36:39 AM [INFO] [HeadDrops] UpdateChecker started
    3:36:39 AM [INFO] [SilkierTouch] Enabling SilkierTouch v2.2
    3:36:39 AM [INFO] [SilkierTouch] Enabled!
    3:36:39 AM [INFO] [ChatManager] Enabling ChatManager v1.19.1
    3:36:39 AM [INFO] [ChatManager] Disabling ChatManager v1.19.1
    3:36:39 AM [INFO] [ChatManager] ChatManager disabled!
    3:36:39 AM [INFO] Server permissions file permissions.yml is empty, ignoring it
    3:36:39 AM [INFO] Done (16.557s)! For help, type "help" or "?"
    And here is my permissions.


    Code:
    groups:
      default:
        default: true
        prefix: '&5Noobling '
        permissions:
        - modifyworld.*
        - BlockDisguise.disguise
        - MushroomJump.affected
        - securechests.lock
        - securechests.lock.public
        - securechests.lock.transfer
        - trade.ignore
        - trade.request
        - trade.request.command
        - trade.request.right-click
        - trade.request.shift-right-click
        - trade.accept.request
        - trade.accept.request.command
        - trade.accept.request.right-click
        - trade.accept.request.shift-right-click
        - trade.gui.rows.4
        - trade.gui.rows.3
        - trade.gui.rows.2
        - trade.gui.rows.1
      Admin:
        default: false
        prefix: '&4&kf&2The Only&4&kf '
        permissions:
        - modifyworld.*
        - BlockDisguise.disguise
        - MushroomJump.affected
        - securechests.lock
        - securechests.lock.public
        - securechests.lock.transfer
        - trade.ignore
        - trade.request
        - trade.request.command
        - trade.request.right-click
        - trade.request.shift-right-click
        - trade.accept.request
        - trade.accept.request.command
        - trade.accept.request.right-click
        - trade.accept.request.shift-right-click
        - trade.gui.rows.4
        - trade.gui.rows.3
        - trade.gui.rows.2
        - trade.gui.rows.1
    Users:
      pomarf:
        group:
        - Admin
    Can someone please tell me what I'm doing wrong?

    Also, on a semi-unrelated note, I am having an issue stopping my server as well.
    It just says
    '[GUI] Stopping the server...'
    And then nothing happens. I am using BukkitGui if that makes a difference.

    There was no YAML syntax on ubuntu, but here it is.
    http://pastebin.com/nTt7axtN

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 15, 2019
  28. Offline

    Spawnstah

    Can't see in the text you pasted, but I would guess you have been using Tab in your file, instead of spaces.
     
  29. Offline

    pomarf

    I'm pretty sure I only used spaces
     
  30. Offline

    Spawnstah

  31. Offline

    pomarf

    Well, that is just giving me the same error as my server log.
    Code:
    ERROR:
     
    while parsing a block mapping
      in "<unicode string>", line 2, column 4:
          default:
          ^
    expected <block end>, but found '<block mapping start>'
      in "<unicode string>", line 28, column 5:
            permissions:
    What syntax should I put for pastebin?
     

Share This Page