Git Product home page Git Product logo

hyperdrive's Introduction

HyperDrive (High Class Warp/Teleportation Plugin)


Description


HyperDrive is a high-class warp plugin allowing you and your players to warp through space and time with high
control. The plugin aims to give players the capability to create, manage, and manipulate their own warps,
admin warps, and even specific warps they have been given access to. HyperDrive is also contains many unique
utilities and features such as a Cross-Server teleportation method, group teleportation, and a full GUI based
warp system.

Installation

1) Once the HyperDrive-Recode.jar is acquired, the jar must be placed into your server's plugins folder.
2) Once this is completed,the server must be restarted in order to register and enable the plugin. The plugin
   will then attempt to find your server version and generate a configuration based on the found version.
3) From this point, the fate of the plugin lies in your hands!

Developer Notes


Though the plugin has been released as 'Open-Source'. If possible, please support the plugin by purchasing the plugin on the main page. The link can be found here .

Required Libraries when compiling:

* Paper Spigot 1.18.1 (ALL jars from 1.8-1.17.1 for the NMS containing R1-R3 classes for the interfaces)
* Vault (Latest Official)
* WorldGuard 6 and 7
* FactionsUUID or a fork using the same API classes and methods.
* ASkyBlock
* Towny
* GriefPrevention
* GriefDefender
* Residence
* MySQL Java Connector

hyperdrive's People

Contributors

ahdg6 avatar xzot1k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hyperdrive's Issues

Warp signs

I could be completly wrong on this - but I believe there are two permissions that should not be doing the same thing that are.

hyperdrive.use.signs
hyperdrive.use.createsigns

These both allow for the creation and use of signs. Is there any way to only allow the use of signs, and not creating them?

Thanks!

We need to FIX MYSQL asap

Since I don't remember, MYSQL have never working well.
5.3.9-B
[HyperDrive] There was an issue saving the warp 'warzone' to the database (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(name, location, status, creation_date, icon_theme, animation_set, description_c' at line 1). [21:09:20] [Craft Scheduler Thread - 8320/WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(name, location, status, creation_date, icon_theme, animation_set, description_c' at line 1 [21:09:20] [Craft Scheduler Thread - 8320/WARN]: at sun.reflect.GeneratedConstructorAccessor182.newInstance(Unknown Source)

And I don't remember the number of time that I erase everything. Just in case..

5.4 --->

https://hastebin.com/duvozanuca.md

I don't understand why you have default-ip + host

I put default-ip: IPV4 and HOST a DNS: A zone that is on the ipv4.
And that doesn't fix anything.
I get :
java.sql.SQLException: Access denied for user 'XXX_tp'@'XXX' (using password: YES)
The problem is that after @ .. the plugin put the hostname of the node that I am.
So the plugin disable himself because the MYSQL connection.

I tried MARIADB, MYSQL 5.7 + 8.0 and yet everything is not working well. I hoped that 5.4 fixed everything.

[BUG] Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because "this.standaloneTitle" is null

Describe the bug

I keep seeing the following error in console. I'm not sure how to reproduce it and it doesn't seem to be affecting gameplay for my end users. Figured I'd post the stack trace just for your information

To Reproduce

n/a

Expected behavior

n/a

Screenshots & Other Media

[19:02:05 WARN]: [HyperDrive] Task #213 for HyperDrive v5.5.3 generated an exception
java.lang.NullPointerException: Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because "this.standaloneTitle" is null
        at xzot1k.plugins.hd.api.TeleportationHandler.operateTeleportation(TeleportationHandler.java:418) ~[HyperDrive 5.5.3.jar:?]
        at xzot1k.plugins.hd.api.TeleportationHandler.run(TeleportationHandler.java:324) ~[HyperDrive 5.5.3.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1481) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:449) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1395) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1172) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[pufferfish-1.20.1.jar:git-Pufferfish-27]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

Server Information (Please fill in the information below):

  • Version: Pufferfish version git-Pufferfish-27 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 979d3a2 on HEAD)
  • Plugins:
AdvancedPortals, BlockLocker, BuycraftX, Celeste, Chunky, ChunkyBorder, CMILib, CoreProtect, DiscordSRV, Essentials EssentialsAntiBuild, EssentialsGeoIP, EssentialsProtect, EssentialsSpawn, FarmControl, FastLeafDecay, floodgate, GameModeInventories, HiddenLorax, HyperDrive LiteBans, LuckPerms, MapModCompanion, OpenInv, PAPIProxyBridge, PlaceholderAPI, Plan, PlugManX, ProtocolLib, PvPManager SelectionVisualizer, Shopkeepers, SkinsRestorer, TAB-Bridge, TimeControl, Vault, VentureChat, ViaBackwards, ViaVersion, VillagerModifications WorldEdit, WorldGuard, WorldGuardExtraFlags

Verification (REQUIRED - Only one is required):

  • Spigot: RalphORama
  • Mc-Market: [Username]
  • Songoda: [Username]
  • Version 5.5.3

Additional context

n/a

Cross-Server

The feature in general is being reworked. I simply do not like the way it works currently and is not very user friendly.

TODO

  • Write foundation for the entire feature to utilize the BungeeCord Messaging Channel (Currently uses MySQL).
  • The feature should be usable under SQLite and MySQL (Currently only MySQL).
  • Implement Cross-Server features into the teleportation commands.
  • Merge a BungeeCord version into the base plugin to handle middle-man actions.

deleted warp will recreate after restart

Describe the bug
the warp should get deleted

To Reproduce
Steps to reproduce the bug:

  1. Delete the warp
  2. Restart
  3. the warp its backed

Expected behavior
to get deleted

Server Information (Please fill in the information below):

  • Version: [e.g. Paper Spigot 1.19.1 (Latest Build)]
  • Plugins: 5.5.2 (Build 7)

Verification

  • Spigot: FakEE

Cross server warp/teleportation bug

Hello! I bought your plugin today and found an error. I want to use the plugin on the Bungee server, and the cross server teleportation/warp teleportation doesn't work as it should.

The plugin verifies the name of the world on the server I'm on and not the one I'm going to. Because of this, even if there are two identical world names between 2 servers, it will throw you in the wrong world and wrong position on the target server.

Otherwise, if the world name is not the same across theese two servers - i get an issue like this: https://prnt.sc/owkr1o

1.19 Upstream

TODO

  • Implement 1.19 support, if required.
  • Update some areas they may be negatively impacted by 1.19.

[REQUEST] Option to setup the default filter within the GUI

In a couple of words, describe the feature you'd like to see:
I'd like to see a config option that allows me to setup the default filter within the GUI.

For example i'd like to show top rated first or most used warps.

Screenshots & Media
/

Additional context
/

Can't enter warp names

Using on latest paper (1.14.4) and lastest Hyperdrive with EssentialsX and Chat Control. When creating a warp and entering the name of the warp in chat it throws this error: https://pastebin.com/zkzx1mka It doesn't make the warp but typing "cancel" in chat still registers fine. I can still create the warp by commands so guessing this is something chat related?

Possible Crash Error

The following crash error occurs when changing a warp status to private (user had MySQL enabled and cross-server set to true):
[15:31:49] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread [15:31:49] [Paper Watchdog Thread/ERROR]: PID: 24 | Suspended: false | Native: false | State: RUNNABLE [15:31:49] [Paper Watchdog Thread/ERROR]: Stack: [15:31:49] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.Object.hashCode(Native Method) [15:31:49] [Paper Watchdog Thread/ERROR]: com.google.common.collect.ImmutableSet$RegularSetBuilderImpl.insertInHashTable(ImmutableSet.java:759) [15:31:49] [Paper Watchdog Thread/ERROR]: com.google.common.collect.ImmutableSet$RegularSetBuilderImpl.add(ImmutableSet.java:754) [15:31:49] [Paper Watchdog Thread/ERROR]: com.google.common.collect.ImmutableSet$Builder.add(ImmutableSet.java:519) [15:31:49] [Paper Watchdog Thread/ERROR]: me.lucko.luckperms.bukkit.inject.permissible.LuckPermsPermissible.lambda$getEffectivePermissions$0(LuckPermsPermissible.java:218) [15:31:49] [Paper Watchdog Thread/ERROR]: me.lucko.luckperms.bukkit.inject.permissible.LuckPermsPermissible$$Lambda$11204/0x0000000802eda450.accept(Unknown Source) [15:31:49] [Paper Watchdog Thread/ERROR]: com.google.common.collect.Maps$TransformedEntriesMap.lambda$forEach$0(Maps.java:2197) [15:31:49] [Paper Watchdog Thread/ERROR]: com.google.common.collect.Maps$TransformedEntriesMap$$Lambda$11206/0x0000000802f43b30.accept(Unknown Source) [15:31:49] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603) [15:31:49] [Paper Watchdog Thread/ERROR]: com.google.common.collect.Maps$TransformedEntriesMap.forEach(Maps.java:2197) [15:31:49] [Paper Watchdog Thread/ERROR]: [email protected]/java.util.Collections$UnmodifiableMap.forEach(Collections.java:1553) [15:31:49] [Paper Watchdog Thread/ERROR]: me.lucko.luckperms.bukkit.inject.permissible.LuckPermsPermissible.getEffectivePermissions(LuckPermsPermissible.java:218) [15:31:49] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_19_R1.entity.CraftHumanEntity.getEffectivePermissions(CraftHumanEntity.java:268) [15:31:49] [Paper Watchdog Thread/ERROR]: HyperDrive-5.5.2_Build_6.jar//xzot1k.plugins.hd.api.Manager.canUseStatus(Manager.java:1688) [15:31:49] [Paper Watchdog Thread/ERROR]: HyperDrive-5.5.2_Build_6.jar//xzot1k.plugins.hd.core.internals.Listeners.runEditMenuClick(Listeners.java:1581) [15:31:49] [Paper Watchdog Thread/ERROR]: HyperDrive-5.5.2_Build_6.jar//xzot1k.plugins.hd.core.internals.Listeners.onClick(Listeners.java:81) [15:31:49] [Paper Watchdog Thread/ERROR]: com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor671.execute(Unknown Source) [15:31:49] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) [15:31:49] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.EventExecutor$$Lambda$6207/0x0000000801d8c000.execute(Unknown Source) [15:31:49] [Paper Watchdog Thread/ERROR]: co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) [15:31:49] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [15:31:49] [Paper Watchdog Thread/ERROR]: org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:664) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3047) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$10810/0x0000000802ebb178.run(Unknown Source) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.TickTask.run(TickTask.java:18) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1358) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1335) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1328) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1462) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1187) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302) [15:31:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.MinecraftServer$$Lambda$4330/0x00000008014d7d30.run(Unknown Source) [15:31:49] [Paper Watchdog Thread/ERROR]: [email protected]/java.lang.Thread.run(Thread.java:833) [15:31:49] [Paper Watchdog Thread/ERROR]: ------------------------------ [15:31:49] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH --- [15:31:49] [Paper Watchdog Thread/ERROR]: ------------------------------

Couple small bugs

Hey, just updated to 1.14 and the latest HyperDrive lotta stuff changed. I've been editing the config and I can't get /hyperdrive reload to work causes this: https://pastebin.com/CSKGgC6Q Also "/tpahere (name)" is defaulting to essentials, it's acting like that command doesn't exist anymore? Oh and I've had reports of the /tpa command not tab completing for players names (works fine for oped players). Thanks! really like this update.

[BUG] crash using ultrapermissions and hyperdrives

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the bug:

  1. open /warp.
  2. Shift + right Click the warp to edit.
  3. use the sign to change from public to private.

Expected behavior
it should block the users interaction or if permission given change it without using /op

Actual behavior
it causes a crash by ultrapermissions and hyperdrive

Screenshots & Other Media
none.

Server Information (Please fill in the information below):

  • Version: Paper 1.20.1
  • Plugins: [e.g. Essentials, HyperDrive, Vault, UltraPermissions, and some more non-interferring]

Verification (REQUIRED - Only one is required):

  • Spigot: Sedrowow
  • Version 5.5.3

Additional context
if i have operator it works fine, but if i dont have it, even though i've got the permissions set up, it causes a crash

[BUG]

Describe the bug
When updating variables for teleport-ask-duration, the text in-game regarding the acceptance time doesn't update. We have players who can accept up to the value of time set in the config, but are still seeing a 10 second notification in chat.

To Reproduce
Steps to reproduce the bug:

  1. Set line 62 teleport-ask-duration to 120
  2. Request TPA in-game
  3. Wait 20+ seconds to accept, noticing the chat notification regarding 10 seconds to accept

Expected behavior
The numeric "10" in the chat reply should accordingly reflect the configured time.
Screenshots & Other Media
If applicable, add screenshots, GIFs, or videos to help explain your problem.

Server Information (Please fill in the information below):

  • Version: [e.g. Paper Spigot 1.16.2 (Latest Build)]
  • Plugins: [e.g. Essentials, HyperDrive, Vault, etc.]

Verification (REQUIRED - Only one is required):

  • Spigot: [Username]
  • Mc-Market: [Username]
  • Songoda: [Username]
  • Version [e.g. 22]

Additional context
Add any other context about the issue/bug here.

Warp Relocation

TODO

  • It has been reported that ''There is already a warp within a range of 100 blocks'' message will be received when relocated owned warps. Nearby warps are including the warp being relocated itself causing a failed check.

/warps throws up error when essentials converter is enabled

Am on the latest Paper Spigot 1.14.4 (#166).

org.bukkit.command.CommandException: Unhandled exception executing command 'warps' in plugin HyperDrive v5.1.6-SNAPSHOT
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[Paper-latest.jar:git-Paper-166]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[Paper-latest.jar:git-Paper-166]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1800) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1608) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:1012) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:1005) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:989) ~[Paper-latest.jar:git-Paper-166]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:922) ~[Paper-latest.jar:git-Paper-166]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_221]
Caused by: java.lang.IllegalArgumentException: UUID cannot be null
at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[Paper-latest.jar:git-Paper-166]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.getOfflinePlayer(CraftServer.java:1419) ~[Paper-latest.jar:git-Paper-166]
at xzot1k.plugins.hd.api.Manager.buildWarpIcon(Manager.java:610) ~[?:?]
at xzot1k.plugins.hd.api.Manager.buildListMenu(Manager.java:834) ~[?:?]
at xzot1k.plugins.hd.core.internals.cmds.MainCommands.openListMenu(MainCommands.java:772) ~[?:?]
at xzot1k.plugins.hd.core.internals.cmds.MainCommands.onCommand(MainCommands.java:113) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[Paper-latest.jar:git-Paper-166]
... 17 more

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.