In that case, it looks like we found a weird error that doesn't happen on every server. Luckily, it seems like a simple NullPointerException, so something on line 96 is null. The plug-in isn't open source, so I don't know what happens on that line. If there are multiple possibilities, you can print every object you try to access at that line, recompile the jar, and send that debug version to me. Then, we should be able to track it down.
Bukkit is just a class, which can't be null. (If it wouldn't exist, it would cause a ClassDefNotFoundError rather than a NullPointerException.) The problem is probably that Bukkit.getScoreboardManager() will return null if no worlds have loaded yet: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Bukkit.html#getScoreboardManager so you might want to delay that to after at least 1 world has loaded.
I think it could be because of the prefix feature of this plugin. The Playernames are basically scoreboards and maybe editing them might affect your scoreboards. If thats the case, its not a mistake of you but just an issue of the scoreboard manager
Another question lol sry, I’m giving the permission difficulty to one of my groups but it doesn’t seem to be working, the commands I am trying to use are /group add (group name) /difficulty, and I also tried /group add (group name) difficulty. But neither seem to give the command. What way do you recommend I fix this? Thank you
It's because the command is not the same thing, as the permission. Permissions can allow you to use multiple commands. The permission for difficulty is minecraft.command.difficulty
The command name is not equal to the permission. You have to search for the permissions of the plugins you are using. Permissions are usually like minecraft.command.weather or for my plugin mypermissions.admin
To use the home command you need to find out which permission you have to use for it
-
View User Profile
-
Send Message
Posted Jan 10, 2021In reply to knokko:
It's kinda weird, because I actually use spigot for development...
-
View User Profile
-
Send Message
Posted Jan 11, 2021In reply to ManatorDE:
In that case, it looks like we found a weird error that doesn't happen on every server. Luckily, it seems like a simple NullPointerException, so something on line 96 is null. The plug-in isn't open source, so I don't know what happens on that line. If there are multiple possibilities, you can print every object you try to access at that line, recompile the jar, and send that debug version to me. Then, we should be able to track it down.
-
View User Profile
-
Send Message
Posted Jan 11, 2021In reply to knokko:
It's rather Bukkit itself or the Scoreboardmanager of Bukkit, so actually nothing by this plugin
-
View User Profile
-
Send Message
Posted Jan 11, 2021In reply to ManatorDE:
Bukkit is just a class, which can't be null. (If it wouldn't exist, it would cause a ClassDefNotFoundError rather than a NullPointerException.) The problem is probably that Bukkit.getScoreboardManager() will return null if no worlds have loaded yet: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Bukkit.html#getScoreboardManager so you might want to delay that to after at least 1 world has loaded.
-
View User Profile
-
Send Message
Posted Jan 7, 2021Hey, everything works perfect. I just have an issue where my /scoreboard objectives stopped working from the plugin.
IE: I have a health scoreboard to show players HP on the player list but the plugin completely disables it.
Is there something I'm doing wrong?
-
View User Profile
-
Send Message
Posted Jan 7, 2021In reply to Mygs50:
I think it could be because of the prefix feature of this plugin. The Playernames are basically scoreboards and maybe editing them might affect your scoreboards. If thats the case, its not a mistake of you but just an issue of the scoreboard manager
I might be able to fix it in a future update
-
View User Profile
-
Send Message
Posted Jan 4, 2021Is there a way to create a group that all users will automatically join by default when they join the server?
-
View User Profile
-
Send Message
Posted Jan 5, 2021In reply to Charvey2000:
Yes, the setdefault argument for groups
/group setdefault <groupname>
-
View User Profile
-
Send Message
Posted Jan 3, 2021Can I add someone a group from this plugin via my own plugin?
-
View User Profile
-
Send Message
Posted Jan 3, 2021In reply to sadlamalife:
It isn't impossible but you need to be familiar with the file management and permission reloading of this plugin
-
View User Profile
-
Send Message
Posted Dec 31, 2020Another question lol sry, I’m giving the permission difficulty to one of my groups but it doesn’t seem to be working, the commands I am trying to use are /group add (group name) /difficulty, and I also tried /group add (group name) difficulty. But neither seem to give the command. What way do you recommend I fix this? Thank you
-
View User Profile
-
Send Message
Posted Dec 31, 2020In reply to cb48350:
It's because the command is not the same thing, as the permission. Permissions can allow you to use multiple commands. The permission for difficulty is minecraft.command.difficulty
-
View User Profile
-
Send Message
Posted Dec 31, 2020Ok I also have a problem.
This plugin seems easy to use but i clearly dont understand how to give a group permissions.
I tried the following:
(im already opd)
/group create Vanilla+
-> Vanilla+ is created
/group add Vanilla+ home
->permission home was added to group Vanilla+
/group addplayer Player Vanilla+
->Player was added to group Vanilla+
but Player still doesnt have acess to the /home command
-
View User Profile
-
Send Message
Posted Dec 31, 2020In reply to Pedduh:
The command name is not equal to the permission. You have to search for the permissions of the plugins you are using. Permissions are usually like minecraft.command.weather or for my plugin mypermissions.admin
To use the home command you need to find out which permission you have to use for it
-
View User Profile
-
Send Message
Posted Dec 31, 2020In reply to ManatorDE:
cool, thank you ill probably can do it now
-
View User Profile
-
Send Message
Posted Dec 31, 2020In reply to Pedduh:
i tried to both:
/group add Vanilla+ home
and
/group add Vanilla+ /home
-
View User Profile
-
Send Message
Posted Jan 1, 2021In reply to Pedduh:
Which plugin are you using for the home command?
-
View User Profile
-
Send Message
Posted Jan 1, 2021In reply to Pedduh:
For plugin named Essentials:
/group add Vanilla+ essentials.home
And
/group add Vanilla+ essentials.sethome
for setting homes
-
View User Profile
-
Send Message
Posted Jan 1, 2021In reply to levapap:
Yes, that should work
-
View User Profile
-
Send Message
Posted Dec 31, 2020Hi, I tried creating a new role named "Pl.master" (Plugin master), but instead of this, it was created a role named "Pl.".
I mean, that a dot in role name doesn't work.
And the same is with the prefixes, instead of &0&l[&5&lPl.Master&0&l]&r, I had &0&l[&5&lPl&r
Is it my problem, or can it be fixed?
PS: It's in plan to add suffixes?
Thanks for yours replyment.