Giter Site home page Giter Site logo

thebusybiscuit / privatestorage Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 13.0 55 KB

This is the public Repository of my Slimefun Addon "PrivateStorage"

License: MIT License

Java 100.00%
bukkit spigot minecraft plugin slimefun addon chest storage private privatestorage

privatestorage's Introduction

PrivateStorage

PrivateStorage is a Slimefun4 Addon.
You need to install Slimefun4 in order for this plugin to work.

PrivateStorage is a Slimefun4 Addon that adds new Chests. There are two types of chests: private and public ones. Private Chests can only be opened and broken by the Player who placed them, while public ones adhere to your protection plugins.
This Addon also adds chests for the different wood types, an iron chest, a diamond chest, explosion-resistant chests and much more!

Read more...

Download PrivateStorage

You can download PrivateStorage right here: Development Builds

Build Server

Discord

You can find Slimefun's community on Discord! Click the badge down below to join the server for suggestions/questions or other discussions about this plugin.

Discord Invite

Open Source

This Project is open-source and licensed under the MIT License

privatestorage's People

Contributors

linoxgh avatar renovate-bot avatar thebusybiscuit avatar variananora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

privatestorage's Issues

error enabling plugin

Description (Required)

When I start the plugin, it does not work, whereas before everything was fine

Server Log / Error Report

https://pastebin.com/wz9yY5Ce

Environment (Required)

  • Minecraft Version: purpurclip-1131 (fork paper 1.16.5)
  • CS-CoreLib Version: DEV 92 (git e9150)
  • Slimefun Version: latest (Dev 913 git f822b)
  • PrivateStorage Version: latest (dev 17 git 43d35)

Unknown Error

[Fri, 24. Jul 2020 12:23:23 CEST ERROR] Could not pass event PlayerInteractEvent to Slimefun vDEV - 590 (git ee62a9b0)

Getting this error when player is trying to open chest from this addon.
Don't know what can cause that :/
Screenshot_20200723-150050_Samsung_Internet
Screenshot_20200723-150021_Samsung_Internet

Item "EMERALD_CHEST" from PrivateStorage vDEV - 16 (git f9468f23) has caused an Error!

[22:20:54]: [ERROR] [PrivateStorage] Item "EMERALD_CHEST" from PrivateStorage vDEV - 16 (git f9468f2) has caused an Error!
[22:20:54]: [ERROR] [PrivateStorage] You can report it here: https://github.com/TheBusyBiscuit/PrivateStorage/issues
[22:20:54]: [ERROR] [PrivateStorage] Something went wrong while triggering a BlockHandler
java.lang.NullPointerException: null
at io.github.thebusybiscuit.privatestorage.SlimefunChest.lambda$new$0(SlimefunChest.java:76) ~[?:?]
at io.github.thebusybiscuit.slimefun4.implementation.listeners.BlockListener.callBlockHandler(BlockListener.java:167) ~[?:?]
at io.github.thebusybiscuit.slimefun4.implementation.listeners.BlockListener.onBlockBreak(BlockListener.java:131) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1326.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.3.jar:git-Paper-253]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.3.jar:git-Paper-253]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.3.jar:git-Paper-253]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PlayerInteractManager.breakBlock(PlayerInteractManager.java:324) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PlayerInteractManager.a(PlayerInteractManager.java:283) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PlayerInteractManager.a(PlayerInteractManager.java:173) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1395) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PacketPlayInBlockDig.a(SourceFile:40) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PacketPlayInBlockDig.a(SourceFile:10) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:1135) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:1128) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1264) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.3.jar:git-Paper-253]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-253]
at java.lang.Thread.run(Thread.java:834) [?:?]

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/maven.yml
  • actions/checkout v2.3.4
  • actions/setup-java v2.1.0
maven
pom.xml
  • org.apache.maven.plugins:maven-shade-plugin 3.2.4
  • org.spigotmc:spigot-api 1.16.5-R0.1-SNAPSHOT
  • com.github.TheBusyBiscuit:Slimefun4 RC-27
  • org.bstats:bstats-bukkit 2.2.1

  • Check this box to trigger a request for Renovate to run again on this repository

Invalid plugin.yml (Dev 7)

Will not load in 1.15.1:

[21:14:16] [Server thread/ERROR]: Could not load 'plugins/PrivateStorage - DEV 7 (git 14cb0).jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:159) ~[patched_1.15.1.jar:git-Paper-32]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:142) ~[patched_1.15.1.jar:git-Paper-32]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:356) ~[patched_1.15.1.jar:git-Paper-32]
    at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:226) ~[patched_1.15.1.jar:git-Paper-32]
    at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:884) ~[patched_1.15.1.jar:git-Paper-32]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 6 more

wrong chest drop

Description (Required)

The destroyed chest will not drop properly.

Steps to reproduce the Issue (Required)

Place emerald chest
Destroy it (as player)
it drop a cs-corelib's head
image

Expected behavior (Required)

The chest will drop normally

Server Log / Error Report

Error: https://pastebin.com/VawhaPPk
Full log: https://pastebin.com/MUCK0rSL

Environment (Required)

image

"Private" Emerald Safe no longer assigning player UUIDS (can only be opened by OP users)

Description (Required)

UUIDs no longer being assigned to identify owner of chest, so person who placed them cannot open them.

Steps to reproduce the Issue (Required)

Have a non-op player place a "Private" Emerald Safe and then have them attempt to open it, or look at the debug fish information on that item after they've placed it.
Should Appear like this:
2020-10-01_21 35 26
Will appear like this:
2020-10-01_21 35 38

Expected behavior (Required)

Needs to store ownership information to place blocked so it can be used by the player who placed it.

Server Log / Error Report

No errors.

Environment (Required)

[21:38:19 INFO]: Paper v1_16_R2
[21:38:19 INFO]: CS-CoreLib vDEV - 91 (git e42a05d1)
[21:38:19 INFO]: Slimefun vDEV - 691 (git 6238b570)
[21:38:19 INFO]: Metrics build: #17
[21:38:19 INFO]:
[21:38:19 INFO]: Installed Addons: (24)
[21:38:19 INFO]: DyedBackpacks vDEV - 9 (git c42435c1)
[21:38:19 INFO]: SlimyPowerSuits vDEV - 3 (git dfb63f3c)
[21:38:19 INFO]: ExtraTools vDEV - 20 (git cfc5b167)
[21:38:19 INFO]: SlimefunOreChunks vDEV - 9 (git 88dd72b0)
[21:38:19 INFO]: EcoPower vDEV - 2 (git b0c0c875)
[21:38:19 INFO]: HotbarPets vDEV - 31 (git 5909202f)
[21:38:19 INFO]: ExtraGear vDEV - 12 (git 4570ea2c)
[21:38:19 INFO]: MoreTools vDEV - 8 (git db8d8814)
[21:38:19 INFO]: SlimefunLuckyBlocks vDEV - 29 (git db79cb7c)
[21:38:19 INFO]: ExoticGarden vDEV - 57 (git 90ccf2ba)
[21:38:19 INFO]: Barrels vDEV - 14 (git 1563de94)
[21:38:19 INFO]: InfinityExpansion vDEV - 14 (git 4c4d399a)
[21:38:19 INFO]: SFCalc vDEV - 11 (git 61bba763)
[21:38:19 INFO]: ElectricSpawners vDEV - 18 (git f9da206b)
[21:38:19 INFO]: LiteXpansion vDEV - 74 (git f803f67d)
[21:38:19 INFO]: ExtraHeads vDEV - 17 (git 6c77b605)
[21:38:19 INFO]: SoulJars vDEV - 17 (git 9eedba0f)
[21:38:19 INFO]: MobCapturer vDEV - 10 (git 33cdceb3)
[21:38:19 INFO]: SlimyTreeTaps vDEV - 14 (git b97239fb)
[21:38:19 INFO]: PrivateStorage vDEV - 13 (git fa5cc2f)
[21:38:19 INFO]: TranscEndence vDEV - 20 (git b158f9b4)
[21:38:19 INFO]: CMI v8.7.8.0
[21:38:19 INFO]: FluffyMachines vDEV - 11 (git e340fe69)
[21:38:19 INFO]: ChestTerminal vDEV - 36 (git 7d68899b)

This server is running Paper version git-Paper-209 (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)

"Withstands Explosions" containers dupe items when broken with explosive pickaxe

If you attempt to mine a steel chest, obsidian chest, steel safe or obsidian safe (all say they "withstands explosions") with an explosive pickaxe, the contents are dropped on the ground around the container. The container is left in tact with the original contents still inside it, thereby duplicating its contents with each attempted mine of the item.

[13:46:32 INFO]: Paper v1_15_R1 (143)
[13:46:32 INFO]:
[13:46:32 INFO]: CS-CoreLib vDEV - 83 (git 8081bb4f)
[13:46:32 INFO]: Slimefun vDEV - 470 (git bfcbda10)
[13:46:32 INFO]:
[13:46:32 INFO]: Installed Addons (14)
[13:46:32 INFO]: DyedBackpacks vDEV - 4 (git 99945ff4)
[13:46:32 INFO]: SoundMuffler vDEV - 8 (git b700523d)
[13:46:32 INFO]: SlimefunOreChunks vDEV - 7 (git 1edd355c)
[13:46:32 INFO]: HotbarPets vDEV - 26 (git 7489ae00)
[13:46:32 INFO]: ExtraGear vDEV - 7 (git 9e953653)
[13:46:32 INFO]: ExoticGarden vDEV - 37 (git 76bd242f)
[13:46:32 INFO]: Barrels vDEV - 11 (git abecba9c)
[13:46:32 INFO]: ElectricSpawners vDEV - 9 (git 9cf22acb)
[13:46:32 INFO]: ExtraHeads vDEV - 12 (git 51e97ace)
[13:46:32 INFO]: SoulJars vDEV - 12 (git 6b475952)
[13:46:32 INFO]: MobCapturer vDEV - 7 (git b61d3fbf)
[13:46:32 INFO]: SlimyTreeTaps vDEV - 9 (git 55c9996f)
[13:46:32 INFO]: PrivateStorage vDEV - 11 (git b064863)
[13:46:32 INFO]: ChestTerminal vDEV - 26 (git 5b0db2b7)

DO NOT USE THIS ADDON !!!!!!!

People can easily dupe with this addon and will ruin your server if you did not take the right steps to secure it!

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.