Giter Site home page Giter Site logo

wmcalliance / royalcommands Goto Github PK

View Code? Open in Web Editor NEW

This project forked from borito/royalcommands

1.0 1.0 1.0 92.58 MB

1.21 compatible Server Management Plugin (Essentials alternative) with commands for player management, teleportation, homes, and much more.

Home Page: http://rcmds.wma.im

License: Mozilla Public License 2.0

Java 100.00%
bukkit bukkit-plugin minecraft minecraft-plugin spigot-plugin spigotmc

royalcommands's People

Contributors

blaneyxyz avatar cowman113 avatar formallymyles avatar lordzerohour avatar wizardcm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

crypnotic

royalcommands's Issues

Recipe command broke again in 1.12.2

After adding some fixes in for 1.12.1 06581cb it seems 1.12.2 completely broke most of the recipe functionality. I'm curious if maybe we can hook into the new recipe book rather than a custom recipe window.

Nickname command doesn't work from console

[16:26:09 WARN]: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R2.command.ColouredConsoleSender cannot be cast to org.bukkit.OfflinePlayer
[16:26:09 WARN]:        at org.royaldev.royalcommands.rcommands.CmdNick.runCommand(CmdNick.java:99)
[16:26:09 WARN]:        at org.royaldev.royalcommands.rcommands.CACommand.runCommand(CACommand.java:23)
[16:26:09 WARN]:        at org.royaldev.royalcommands.rcommands.BaseCommand.onCommand(BaseCommand.java:282)
[16:26:09 WARN]:        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[16:26:09 WARN]:        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:139)
[16:26:09 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:699)
[16:26:09 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchServerCommand(CraftServer.java:684)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.aU(DedicatedServer.java:459)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:418)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
[16:26:09 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
[16:26:09 WARN]:        at java.lang.Thread.run(Unknown Source)

Signs now have multiple faces; make necessary adjustments

Both the /signedit command and event handlers should calculate which face/direction the player clicked and perform the necessary action on that side.

Repro steps:

  1. Place sign on the ground
  2. Right click on the sign
  3. Set the text to something
  4. Save
  5. Walk around to the other side of the sign
  6. Right click on the sign
  7. Set the text to something different
  8. Save the text
  9. While pointing at the back of the sign, type /signedit
  10. Notice the text is from the front, not the back

Code to look for:
.openSign(
.setLine(

https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/sign/SignSide.html

Map/MapAdjust broken

Currently seems to do nothing. hopefully it's something small
Errors out when item name is MAP, changed it to FILLED_MAP and no longer errors but commands have no impact on the map

java.lang.NullPointerException: Cannot invoke "org.bukkit.map.MapView.setCenterX(int)" because "mv" is null
	at org.royaldev.royalcommands.rcommands.CmdMap.runCommand(CmdMap.java:167)
	at org.royaldev.royalcommands.rcommands.CACommand.runCommand(CACommand.java:23)
	at org.royaldev.royalcommands.rcommands.BaseCommand.onCommand(BaseCommand.java:279)
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
	at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:826)
	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1957)
	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1796)
	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1777)
	at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
	at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:1)
	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:31)
	at net.minecraft.server.TickTask.run(SourceFile:18)
	at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:157)
	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23)
	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1190)
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1)
	at net.minecraft.util.thread.IAsyncTaskHandler.y(SourceFile:131)
	at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1169)
	at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1162)
	at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:140)
	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1146)
	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1051)
	at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
	at java.base/java.lang.Thread.run(Thread.java:833)

Github Actions support

Investigate using Github actions to test and package builds

As a backup/replacement to using Jenkins

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.