PocketDimension
This Plugin is now OPEN SOURCE. Feel free to decompile and to use the Code !
What is this?
PocketDimension is a Plugin that allows Players to create own Dimensions by Command. There are three Types of Bases (They can be changed in the config.yml). The Bases are spawning randomly in the World , You can fully configurate where the Bases spawn. Admins can destroy Bases and visit the Bases of the Players.
This is a continuation of my outdated Plugin Bedrockbase -Organizer!
The differnce between Bedrockbase-Organizer and PocketDimension is the UUID compatibility and the Visit-Feature!
Installation
1.Download the jar-File
2.Paste it in your /plugins Folder
3.Restart
Configuration
1. You can change the Messages: prefix ... noperms (Colorcodes enabled)
2. "world" means the World where the Bases spawn.
3. "yaxis" Is the Y-Coordinate where the Bases spawn
4. Dimensions spawns randomly between the Cordinates (from > to)
5. There are 3 Sizes available. They can be changed. (Permissions later)
Commands
- /pd - Shows the help (no permission)
- /pd create - Creates a Base (pocketdimension.create.size3 | pocketdimension.create.size2 | pocketdimension.create.size1)
If somebody have all these Permissions, he will get Size3
-/pd home -Teleports you to your Base (pocketdimension.home)
-/pd setkey [key] -Set the password of your base (pocketdimension.setkey)
-/pd visit [Player] [key] -Visit Bases(pocketdimension.visit)
-/pd remove -Removes your Base (Player have to accept) (pocketdimension.remove)
Admin Commands
/bb a_tpbase [UUID] - Teleports you to Players Base (pocketdimension.admin)
/bb a_remove [UUID] - Removes Players Base (pocketdimension.admin)
Version: 1.16.1
Command: /pd create
Console:
[16:02:24 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'pd' in plugin PocketDimension v0.1
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[init.jar:git-Paper-138]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[init.jar:git-Paper-138]
at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:794) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1913) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1724) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1137) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1130) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1266) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1001) ~[init.jar:git-Paper-138]
at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[init.jar:git-Paper-138]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
Caused by: java.lang.NullPointerException
at de.D3V3L0P3R.PocketDimension.PocketDimension.createDimension(PocketDimension.java:472) ~[?:?]
at de.D3V3L0P3R.PocketDimension.PocketDimension.onCommand(PocketDimension.java:247) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[init.jar:git-Paper-138]
... 18 more
@adamwbb
That's a great idea :D I maybe Start updating my Plugins again and then I will add the Feature of choosing the Block. I will also add an Email Adress / Contact Field so u can send me Tips for future Updates :)
@adamwbb
found easy fix i just opened the jar and modified the word BEDROCK in the pocketdimension.classfile to BARRIER on line 92. it worked flawlessly.
is there a way to make it use barrier blocks instead of bedrock?
that way light passes through.
@ChickenCode
Awesome :)
@TKB7
My Codingstyle in this Plugin is crappy. With the next update i will make the code look better and i will make it open source. If you want to, you can decompile it and use the Code
@ChickenCode
When is soon?
@Nuno_Facha
The source is available soon.
Is the source code available?