GithubHelp home page GithubHelp logo

playervisibility's Introduction

Hide/Show all players in a server (excluding administrators)

playervisibility's People

Contributors

frafol avatar

Watchers

 avatar

playervisibility's Issues

Issue enabling save_after_reboot

Hello I am currently getting this error after enabling save_after_reboot option being enabled.

[16:10:16] [Server thread/INFO]: [PlayerVisibility] Loading dependencies...
[16:10:16] [Server thread/INFO]: [PlayerVisibility] Loading configuration...
[16:10:16] [Server thread/INFO]: [PlayerVisibility] Loading commands...
[16:10:16] [Server thread/INFO]: [PlayerVisibility] Loading listeners...
[16:10:16] [Server thread/INFO]: [PlayerVisibility] Loading database...
[16:10:16] [Server thread/ERROR]: Error occurred while enabling PlayerVisibility v1.0.2 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "it.frafol.playervisibility.enums.Data.get(java.lang.Class)" is null
	at it.frafol.playervisibility.PlayerVisibility.loadDatabase(PlayerVisibility.java:128) ~[PlayerVisibility.jar:?]
	at it.frafol.playervisibility.PlayerVisibility.onEnable(PlayerVisibility.java:46) ~[PlayerVisibility.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:190) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:651) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:562) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:678) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:438) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:345) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1148) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) ~[purpur-1.20.4.jar:git-Purpur-2120]
	at java.lang.Thread.run(Thread.java:840) ~[?:?]
[16:10:16] [Server thread/INFO]: [PlayerVisibility] Disabling PlayerVisibility v1.0.2
[16:10:16] [Server thread/INFO]: [PlayerVisibility] Disabled successfully.

The data file default is hidden: false but changing it to hidden: true throws the error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.