promotional bannermobile promotional banner
premium banner
A Mod that lets you jump to another Server, And your Inventory comes with you

Description

I heard you all ask for it on all the other Server Hopping mods, So I thought I would take things into my own hands and craft this lovely mod

Adds a Portal to the game with the item id "Shubshub_Server_Portal"

To use

  1. Install the Mod
  2. Start the Server
  3. A ShubshubSerJumpConfig.json file will be created on your Server, At this point stop the server
  4. Configure the Config file
    On the Main Server have something in the file like this
    {"MainServer": true, "KickBackToAuthServer": false, "MainServerHost": "Your Server IP Here", "MainServerPort": Your Server Port Here, "SharedSecretKey": "AES Key Here (32 Bytes)", "TrustedHosts": "TrustedSource:TrustedPort:TrustedHttpPort,TrustedSource2:TrustedPort2:TrustedHttpPort2", "ThisServerHost": "Your Server IP Here", "ThisServerGamePort":Your Server Port Here,ThisServerHttpPort: httpport}
  5. If you are a Sub Server
    {"MainServer": false, "KickBackToAuthServer": false, "MainServerHost": "Main Server IP Here", "MainServerPort": Main Server Port here, "SharedSecretKey": "AES Key Here (32 Bytes)", "TrustedHosts": "TrustedSource:TrustedPort:TrustedHttpPort,TrustedSource2:TrustedPort2:TrustedHttpPort2", "ThisServerHost": "Your Server IP Here", "ThisServerGamePort": Your Server Port Here, ThisServerHttpPort: httpPort}
  6. Start the Server
  7. Give yourself the "Shubshub_Server_Portal"
  8. Make sure you have the permission for "ssj.portal.configure"
  9. Hit F on the placed down Portal
  10. Configure the portal for a Target Server IP and Target Port, As well as a Portal ID and a Destination Portal ID for the otherside
  11. On the Sub Server do the same with the portal but point it at the main server, Make sure to use the Destination Portal ID you set on the Main Server as the Portal ID here, Make sure to set the Destination on this side to the Portal ID on the Main Server
  12. Put some items in your inventory
  13. Walk through the Portal, Voila


Congratulations you just brought your inventory to another server


A few additional things

  1. Your server of authority will follow you, So if you join Server B, Server B is now your Server of Authority, If you rejoin Server A directly then it will pull your Inventory from Server A, And then Server A will become your Server of Authority
  2. Should a Sub Server crash through a Java Exception, Or otherwise be shut down gracefully, The Server will attempt to hand all authority back to the Main Server, Which means your Inventory will be sent back to the Main Server
  3. This Mod has only been tested so far again 2 Servers on my Home Network, But I see no reason why it wont work with 3 or more servers in the mix provided they're all set up correctly, If it doesnt, Please let me know

 

 

Best way to contact me right now is in the official Hytale Discord (shubshub) or on twitter (@shubshub11)