Current Rank = N/A - what should be here? #514

  • Accepted
  • Task
Assigned to _ForgeUser8455416
  • TrivalentClanMizar created this issue Sep 13, 2014

    What Version of OnTime and Bukkit are you using? 3.13.4 and 1.7.9 Spigot

    [15:28:31] [Server thread/INFO]: [OnTime] Loading OnTime v3.13.4
    [15:28:42] [Server thread/INFO]: [OnTime] Enabling OnTime v3.13.4
    [15:28:42] [Server thread/INFO]: [ONTIME] Points system enabled.
    [15:28:42] [Server thread/INFO]: [ONTIME] /plugin/ontime/config.yml loaded.
    [15:28:42] [Server thread/INFO]: [OnTime] Verifed that plugins/OnTime/OnTimeLog.txt exists.
    [15:28:42] [Server thread/INFO]: [OnTime] Loading from output.yaml
    [15:28:42] [Server thread/INFO]: [ONTIME] MySQL Enabled.  Attempting connection to database: mcph******
    [15:28:43] [Server thread/INFO]: [ONTIME] Created ontime-online table in MySQL Database.
    [15:28:43] [Server thread/INFO]: [ONTIME] MySQL connection to database: mcph****** SUCCESSFUL
    [15:28:43] [Server thread/INFO]: [OnTime] Data file auto-saves schdeduled.
    [15:28:43] [Server thread/INFO]: [OnTime] AFK Checking Enabled.
    [15:28:46] [Server thread/INFO]: [OnTime] Economy plugin (HyperConomy) latched.
    [15:28:46] [Server thread/INFO]: [OnTime] Permissions plugin (PermissionsBukkit) latched.
    [15:28:46] [Server thread/INFO]: [OnTime] OnSign Plugin Located
    [15:28:46] [Server thread/INFO]: [OnTime] Loading from messages.yml
    [15:28:46] [Server thread/INFO]: [OnTime] Loading from rewards.yaml
    [15:28:46] [Server thread/INFO]: [ONTIME] Groups supported by PermissionsBukkit:[default, royal, mod, admin, owner, rascal,...]
    [15:28:46] [Server thread/INFO]: [OnTime] Rewards enabled, but no rewards defined.
    [15:28:46] [Server thread/INFO]: [OnTime] Rewards: No groups defined.
    [15:28:46] [Server thread/INFO]: [OnTime] Rewards: No kits defined.
    [15:28:46] [Server thread/INFO]: [OnTime] Rewards: Worlds defined: [global]
    [15:28:46] [Server thread/INFO]: [OnTime] Rewards: No commands defined.
    [15:28:46] [Server thread/INFO]: [OnTime] No Individual Rewards to process.
    (listing prior to my fixing of my rewards)

    What permissions plugin are you using? PermissionsBukkit - groups are seen

    Why does every player have "Current Rank = N/A" ?  What should be there?

    I can't figure out if Ontime is not quite working with PermissionsBukkit because a design choice in Vault (already have seen that with regards to the two methods for playerAddGroup, the second one never works with PermissionsBukkit, and if a plugin author uses it their plugin does nothing on any server with PermissionsBukkit)

  • TrivalentClanMizar added the tags New Task Sep 13, 2014
  • _ForgeUser8455416 posted a comment Sep 14, 2014

    It should be showing the highest (permission) rank for the player. In its current form it will only show for players that are online. (I have this fixed in the next major update so it works for offline players too.) For it work you must also have all of your supported permission ranks listed in the OnTime/rewards.yml file, under the "groups:" header, listed in ascending order of rank.

  • _ForgeUser8455416 removed a tag New Sep 14, 2014
  • _ForgeUser8455416 added a tag Accepted Sep 14, 2014
  • TrivalentClanMizar posted a comment Sep 19, 2014

    Here's my current info:
    19.09 13:10:14 [Server] INFO Loading from indirewards.yaml
    19.09 13:10:14 [Server] INFO Rewards: No commands defined.
    19.09 13:10:14 [Server] INFO Rewards: Worlds defined: [global]
    19.09 13:10:14 [Server] INFO Rewards: 3 Kits defind.
    19.09 13:10:14 [Server] INFO Rewards: Validating Kit supplies
    19.09 13:10:14 [Server] INFO Rewards: Validating Kit tools
    19.09 13:10:14 [Server] INFO Rewards: Validating Kit armor
    19.09 13:10:14 [Server] INFO Rewards: Groups defined: [rascal, ...]
    19.09 13:10:14 [Server] INFO Loading from rewards.yaml
    19.09 13:10:14 [Server] INFO Loading from messages.yml
    19.09 13:10:14 [Server] INFO Permissions plugin (PermissionsBukkit) latched.
    19.09 13:10:14 [Server] INFO Economy plugin (HyperConomy) latched.
    19.09 13:10:09 [Server] INFO MySQL connection to database: mcph**** SUCCESSFUL
    19.09 13:10:09 [Server] INFO MYSQL Online Tracking table already exists or creation failure.
    19.09 13:10:09 [Server] INFO [[OnTime]] Could not create table, SQLException: Table 'ontime-online' already exists
    19.09 13:10:09 [Server] INFO MySQL Enabled.  Attempting connection to database: mcph****
    19.09 13:10:09 [Server] INFO Loading from output.yaml
    19.09 13:10:09 [Server] INFO Verifed that plugins/OnTime/OnTimeLog.txt exists.
    19.09 13:10:09 [Server] INFO /plugin/ontime/config.yml loaded.
    19.09 13:10:09 [Server] INFO Points system enabled.
    19.09 13:10:09 [Server] INFO Enabling OnTime v3.13.4
    19.09 13:10:00 [Server] INFO Loading OnTime v3.13.4
    19.09 13:09:57 [Server] INFO This server is running CraftBukkit version git-Spigot-1543 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)

    Rewards yml contains lines like this:
       - rascal
       - pickpocket

    Adding the groups didn't change anything, this looks like a Vault vs. PermissionsBukkit issue.  Can you post the Vault method you use to get the groups so I can trace it through and if needed build a custom version of Vault to debug this issue.

    Edited Sep 19, 2014

To post a comment, please login or register a new account.