Jump to content

Cay2

Member
  • Posts

    17
  • Joined

  • Last visited

  • Days Won

    2

Cay2 last won the day on February 6

Cay2 had the most liked content!

About Cay2

  • Birthday 01/03/1996

Cay2's Achievements

Newbie

Newbie (2/6)

3

Reputation

1

Community Answers

  1. Cay2

    Java script help

    That didn't work so i changed the api version here and i cant make the paper version 1.20 so i did 1.9 im using vscode no maven name: SkibidiPlugin version: 1.0 main: com.example.skibidi.Skibidi description: My Paper Plugin api-version: 1.20
  2. Cay2

    Java script help

    Hey im not sure if i should be asking on here but my java script isnt working idk if its minehuts problem or my side my yml name: SkibidiPlugin version: 1.0 main: com.example.skibidi.Skibidi description: My Paper Plugin api-version: "1.20.4" my java script code package com.example.skibidi; public class Skibidi { var Bukkit = org.bukkit.Bukkit; var Material = org.bukkit.Material; var InventoryType = org.bukkit.event.inventory.InventoryType; function onPlayerInteract(event) { var player = event.getPlayer(); var action = event.getAction(); var itemInHand = player.getInventory().getItemInMainHand(); // Use getItemInMainHand for Paper if (action === org.bukkit.event.block.Action.RIGHT_CLICK_AIR || action === org.bukkit.event.block.Action.RIGHT_CLICK_BLOCK) { // Check if the player is holding a chest if (itemInHand.getType() === Material.CHEST) { // Open a chest inventory var chestInventory = Bukkit.createInventory(player, InventoryType.CHEST); player.openInventory(chestInventory); // Cancel the event to prevent default chest interaction event.setCancelled(true); } } } // Register the event listener events.on('player.PlayerInteractEvent', onPlayerInteract); } And i get this error [02:45:19 ERROR]: [ModernPluginLoadingStrategy] Could not load plugin 'Skibidi.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.20.4 at org.bukkit.craftbukkit.v1_20_R3.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:384) ~[paper-1.20.4.jar:git-Paper-336] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:119) ~[paper-1.20.4.jar:git-Paper-336] at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[paper-1.20.4.jar:git-Paper-336] at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[paper-1.20.4.jar:git-Paper-336] at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[paper-1.20.4.jar:git-Paper-336] at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[paper-1.20.4.jar:git-Paper-336] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.loadPlugins(CraftServer.java:505) ~[paper-1.20.4.jar:git-Paper-336] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:273) ~[paper-1.20.4.jar:git-Paper-336] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1132) ~[paper-1.20.4.jar:git-Paper-336] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[paper-1.20.4.jar:git-Paper-336] at java.lang.Thread.run(Thread.java:833) ~[?:?] And thats my error idk why the text is red and all that sorry if this is hard to read
  3. Don't worry cay here coming to help, So i think while you're messing around you turned off nether portals ill show you how to turn em back on got to minehut.com dashboard get you're server go on settings if you scroll a bit you should find enable nether portals.
  4. So first I like to get my custom addon by coding them and putting them into command blocks there are people that make them for command blocks on youtube here is a channel I use a lot, he makes good custom items and easily modify however you want he
  5. Cay2

    change difficulty ?

    Hello cay swooping in here let me take a sit if you don't mind, so first if you have already tried to go to minehut.com dashboard you're server, and then press diffucatilly and changed it to what ever you want, then you can try to restart the server or get a backup save that and put it into a another server.
  6. Cay2

    Help lol

    You need to head over to the minehut.com dashboard you're server console then do op [you're username] make sure you dont put a /
  7. If you've tried to restart and still doesn't work you might need to reset the server or make a new one you can copy a backup world and put it in another server or you can try reloading the server plugins. or removing some
  8. Cay2

    why

    Well the devs felt like they didn't need to add that for som reason just put you're server on hibernation and it's like deleting
  9. You just wanna go to the minehut.com dashboard you're server then you wanna press the pen button right beside the version and you can change it then restart the server bam cay out have a nice day:)th
  10. Cay2

    Random kits

    Hello it's cay here to save the day I went ahead and researched and found you a Have a nice day:) plugin https://www.spigotmc.org/resources/random-kits-skript.106216/
  11. Usually since the incompatible so mine hut cant do it you usually need to search for the plugin download it go to the file manager then the plugins folder and slap that plugin in the plugins folder and restart the server and wabam easy plugins
  12. Cay2

    Server Crashing!

    There might be too many plugins or an error with you're plugins and it's crashing the server try reinstalling you're plugins,
  13. make sure you don't do /op {Username} Make sure you do op [Username] in the console and you should receive operator
  14. Cay2

    friend can't tp

    I Have 2 things to tell you if you mean to join somebody of any mine hut server command is /friends join [Username] If you mean the tpa command from many plugins you're gonna have to find the plugin you use it with and try reinstalling it. Also, you can try to see if it's on whitelist
×
×
  • Create New...