[INACTIVE][ADMN/TP] XcraftGate v0.9.1 - Multiworldmanager/-teleporter [1060-1185]

Discussion in 'Inactive/Unsupported Plugins' started by Engelier, Jun 4, 2011.

  1. Offline

    Engelier

    XcraftGate - Version: v0.9.1

    XcraftGate started as a replacement for EpicGates and it's successor RealTeleporter. In the meantime it has grown to a complete worldmanagement solution.

    Features:
    • Create/Delete new worlds (such as Nether, or a specific world for mining, or ...)
    • Set borders for your worlds, so nobody can explore beyond a specific point
    • Create Teleporters between your worlds or to/from your points of interest.
    • Limit the amount of creature spawns on your worlds
    • Completely deny monster or animal spawns on your worlds
    • Allow/Deny PvP on your worlds
    • Allow/Deny weather changes on your worlds


    Commands:
    • /gworld - World management tool
      Code:
      /gworld list - lists your active worlds
      /gworld info <worldname> - displays some basic info about a world
      /gworld listplayers <worldname> - lists the players currently running around in that world
      /gworld create <worldname> [environment [seed]] - creates a new world on your server, <environment> may be "normal", "nether" or "skylands". defaults to "normal" if left blank
      /gworld listenv - lists all available environments/chunkgenerators usable with /gworld create
      /gworld delete <worldname> - unloads a world (and deletes it from the plugin's database)
      /gworld load <wprödname> - loads a given world
      /gworld unload <worldname> - unloads a given world
      /gworld setsticky <worldname> - controls if a world will be automatically loaded/unloaded with dynamic world loading enabled
      /gworld keepspawninmemory <worldname> - controls if a world's spawn is always kept in memory
      /gworld warpto <worldname> - teleports you to the world <name>
      /gworld setborder <worldname> <#> - sets the border for world <name> to <#> (denies exploration beyond x/z +/- <#>)
      /gworld setcreaturelimit <worldname> <#> - limits creature spawns to a maximum of <#> creatures for the world
      /gworld allowanimals <worldname> <true|false> - Allows or denys animal spawns on world <name>
      /gworld allowmonsters <worldname> <true|false> - Allows or denys monster spawns on world <name>
      /gworld suppresshealthregain <worldname> <true|false> - Suppresses automatic health regaining when allowmonsters is set to false
      /gworld allowpvp <worldname> <true|false> - Allows or denys PvP combat on world <name>
      /gworld allowweatherchange <worldname> <true|false> - Allows or denys weather to change on world <name>
      /gworld setweather <worldname> <sun|storm> - Sets the current weather for world <name> (ignores allowWeatherChange setting)
      /gworld timefrozen <worldname> <true|false> - (Un)freezes the current time on world <name>
      /gworld settime <worldname> <sunrise|noon|sunset|midnight> - Sets the current time for world <name> (also sets time for timefrozen)
      
    • /gate - Gate management tool
      Code:
      /gate create <gatename> - creates a new teleportation point at your current position - make sure you look at the direction your users should look at, when they ARRIVE at this point
      /gate move <gatename> - moves a gates location to your current position
      /gate delete <gatename> - deletes a teleportation point
      /gate link <gatename1> <gatename2> - creates a link from <name1> to <name2>, so when you step on <name1> you will be teleported to <name2>
      /gate loop <gatename1> <gatename2> - same as /gate link, but for both ways
      /gate unlink <gatename> - deletes the destination for <name1>
      /gate unloop <gatename1> <gatename2> - deletes a loop between the two gates (if it exists)
      /gate info <gatename> - displays some basic info about a gate
      /gate list - lists all gates in all worlds in alphabetical order
      /gate listnear [radius] - lists all gates near you (radius defaults to 10, BE CAREFUL WITH BIG NUMBERS!)
      /gate listsolo - lists all gates without a source or destination
      /gate warp <gatename> - teleports you to the given teleportation point
      /gate reload - reloads all gates from gates.yml
      


    Video: HowTo create gates



    Permissions
    XcraftGate.* - permission to use everything this plugin provides

    XcraftGate.use.* - permission to use all gates
    XcraftGate.use.<gatename> - permission to use a gate

    XcraftGate.gate - access to /gate
    XcraftGate.gate.* - access to all /gate commands
    XcraftGate.gate.create - /gate create, /gate move
    XcraftGate.gate.link - /gate link, /gate loop
    XcraftGate.gate.unlink - /gate unlink, /gate unloop
    XcraftGate.gate.delete - /gate delete
    XcraftGate.gate.info - /gate listsolo, /gate list, /gate listnear, /gate info
    XcraftGate.gate.warp - /gate warp
    XcraftGate.gate.reload - /gate reload

    XcraftGate.world - access to /gworld
    XcraftGate.world.* - access to all /gworld commands
    XcraftGate.world.create - /gworld create
    XcraftGate.world.delete - /gworld delete
    XcraftGate.world.warp - /gworld warpto
    XcraftGate.world.setborder - /gworld setborder
    XcraftGate.world.setcreaturelimit - /gworld setcreaturelimit, /gworld allowanimals, /gworld allowmonsters, /gworld suppresshealthregain
    XcraftGate.world.pvp - /gworld allowpvp
    XcraftGate.world.weather - /gworld allowweatherchange, /gworld setweather
    XcraftGate.world.time - /gworld settime, /gworld timefrozen
    XcraftGate.world.info - /gworld info, /gworld list

    If you don't use a permissions plugin, only OPs are allowed to use those commands and all users are allowed to use all gates.


    Downloads:
    Stable Version (use this if unsure): XcraftGate.jar (wget friendly)

    Some people are repeatedly asking for development versions, so here it is:
    Development Version: XcraftGate-Dev.jar (wget friendly)
    I WILL NOT SUPPORT THE DEVELOPMENT VERSION! USE THIS AT YOUR OWN RISK AND DON'T COME CRYING IF IT EATS YOUR KITTEN BABYS!
    Development Changelog (open)

    • implemented chunk resending on teleport - should fix death/lag on arrival
    • rewrote plugin management
    • added Register support
    • added /gate rename <gate> <newname>
    • added /gate settoll <gate> <amount> - set amount of money to be taken from the users account when he uses the gate
    • added /gate setdenysilent <gate> <true|false> - don't print error messages when gate usage is denied by permission or not enough money
    • added /gworld suppresshunger - prevents foodbar depletion on the given world
    • added /gworld setspawn - sets the spawn to your current location
    • added /gworld setgamemode <world> <survival|creative> - sets gamemode for the world
    • added /gworld setdifficulty <world> <peaceful|easy|normal|hard> - sets difficulty for the world
    • added /gworld setannouncedeath <world> <true|false> - set if player deaths in the given world should be broadcasted
    • /gworld suppresshealthregain now also affects health regaining by saturation
    • new worlds now obey the spawn-monsters and spawn-animals settings in your server.properties
    • "fixed" bukkit leaking tears when not using SuperPerms



    Installation:
    Put the XcraftGate.jar into your plugins folder and reload/restart your server. All files will be created automatically.

    If you already have some extra worlds add them with /gworld create <name> <environment>. If there's already a world with the same name in your server's folder, it won't be freshly generated, but just get loaded.

    Do not edit the config files manually, as your changes will get overwritten on reload/restart. Use the ingame commands. Tell me when there's an option missing.


    FAQ:
    Is there a way I can clear the inventory of anyone entering a specific world? (open)

    Use MultiInv.

    Can we have something like /gworld allowflying? (open)

    No. This is a global setting controlled by craftbukkit. Plugins are not able to change that.

    How do I allow my users to use all gates? (open)

    Add the following permission to your users: XcraftGate.use.*


    Source Code:
    github (Licence: GPLv3)


    Donations:

    I put a lot of work into XcraftGate and intend to do so in the future. If you're able to efford some EUR to motivate me further, I'd really appreciate it :)
    Note: For sure donating is purely optional! XcraftGate is released under the terms of GPLv3, so you have (and will always have) the freedom to use, study, share and improve it as you like!
    [​IMG]


    Changelog:
    Version 0.9.1 (CB1060+)
    • fixed NPE in /gate listsolo
    • changed the way gates teleport players - should fix spawning to high
    Version 0.9 (CB1060)
    • enabled gworld-commands (except "warpto") to be used from the console
    • added support for SuperPerms
    • implemented dynamic world loading - on startup only your default
      world(s) will get loaded. Any other world will be loaded as soon as a
      player tries to access that world and will be unloaded when no player is
      active in that world for 5min. Disabled by default. This can be enabled/tweaked in the config.yml
      Please be aware of this bug when playing around with this feature.
    • added /gworld load
    • added /gworld unload
    • added /gworld setsticky (controls if a world will be automatically loaded/unloaded with dynamic world loading enabled)
    • added /gworld keepspawninmemory
    • implemented custom chunkgenerators (referred to as additional "environments") - currently available: flatlands, island, hillvalley
    • implemented getDefaultChunkGenerator(), enabling craftbukkit to use the custom ChunkGenerators for your default world(s)
      Example (open)

      in your bukkit.yml:
      Code:
         worlds:
             worldname:
                 generator: XcraftGate:FLATLANDS
         
    • added /gworld listenv - shows available environments
    • new worlds now obey the pvp-setting in server.properties
    Version 0.8
    • added seed argument to /gworld create
    • added /gate reload
    • added /gate move
    • added /gate info
    • added /gate list
    • added /gate listnear
    • added /gworld listplayers
    • added permissions for gates (XcraftGate.use.<gateName>)
    • worlds with active players cannot be deleted anymore
    • /gworld info now shows the environment
    • improved world detection
    • probably fixed ConcurrentModificationExceptions
    • probably fixed off-gate spawning (corresponding gates have to be recreated)
    • fixed animals always despawning on server reload/restart
    • another workaround for the PLAYER_MOVE event location bug (fixes players getting stuck when reaching the border)
    • fixed /gate warp triggering the target gate
    Older Changes (open)

    Version 0.7.2 (minimum CB-Version: 949, recommended: 953)
    • Update for CB953/MC1.7
    • Food working again as expected
    • added workaround for move-event location bug introduced in CB949 (fixes endless loops, again)
    Version 0.7.1
    • Great, seems using food also triggers the regain-health-event, so supresshealthregain will suppress that, too. Mostly fixed. Cookies still won't work. I've no better solution at the moment. :/
    Version 0.7 (minimum CB-Version: 896, recommended: 935)
    • added /gworld settime
    • added /gworld timefrozen
    • added /gworld suppresshealthregain - craftbukkit automagically let users regain health when allowmonsters is set to false. So we have to control this ourselfs.
      NOTE: XcraftGate automatically sets allowmonsters to false, when the creaturelimit is reached
    • removed "moved too quickly"-workaround
    • removed bukkit-bypass for spawncontrol
    • /gworld info now displays the world's seed
    • /gworld warpto now teleports you to the spawn location of the given world (no more searching for a safe spot in sky worlds)
    Version 0.6.2
    • made teleport check more restrictive (fixed endless loops)
    Version 0.6.1
    • fixed allowAnimals/-Monsters flag handling
    • added workaround for commands not being registered correctly by craftbukkit when being enabled by another plugin
    Version 0.6 (minimum CB-Version: 860)
    • rewrote world management - should fix most problems/inconsistencys
    • added /gworld allowpvp
    • added /gworld allowweatherchange
    • added /gworld setweather (ignores allowWeatherChange setting)
    • /gworld warpto now trys to find a save spot in a 64 block radius around the destination and denys teleport when unable to find one
    Version 0.5 (minimum CB-Version: 834)
    • check for creaturelimit regulary, instead on ENTITY_DEATH. Fixes creature counts dropping very low on low population servers
    • changes are now saved immediately, instead only in onDisable() (reload/restart)
    • added option to completely deny animals or monster spawns on a world
    • removed workaround for crossworld teleportation bug in CB818
    • unload world on /gworld delete
    • added support for SKYLANDS environment
    • complete permission nodes overhaul (s. above for the new permission nodes)
    Version 0.4.1
    • tweaked creatureLimit so the server doesn't try to spawn new creatures when the limit is reached (fixes "Can't keep up"-Spam)
    • typofix
    Version 0.4
    • added /gworld setcreaturelimit -- limits creature spawns
    • added /gworld info -- displays some basic info
    • border now defaults to 0 (disabled) instead of Integer.MAX_VALUE
    Version 0.3
    • public release
     
    regzand, Masterflapdrol and Rwembee like this.
  2. Offline

    Tuttu

    Nice ! I will be able to have my wolves back at home. Thanks. :)
     
  3. I can't get maps working in the new worlds i create, anyone got some suggestions for what i can do so i can get a map in my new world?
     
  4. Offline

    DJNightchild

    Nice ! Thanks for fixing!
     
  5. Offline

    Xenophod


    This worked like a charm! Thanks for the help!
     
  6. Offline

    bocaj812

    I was thinking for using gates, it only seems fair, traveling vast distances quickly, whereas you could take your time to walk, I think charging a toll would be nice.
     
  7. Offline

    doupegic

    Can someone please uplaod Version 0.6.2 of this Plugin, my Server is still 1.6.6 (CB 860). I need a working Version for that.
     
  8. Offline

    SeySayux

    Hi, I'd also like to have a version that's compatible with 935, please. Could anyone upload that?
     
  9. Offline

    doupegic

    No one? :(
     
  10. Offline

    Likwidface

    Hello. I installed this plugin on my server, it has great teleportation features. It is simple and straightforward.
    But it disabled pvp on my server! So I had to uninstall it. I am running everything up to date as of this posting date.
     
  11. Offline

    SeySayux

    Turns out you can just pull it from github and compile the correct revision... I suppose you know how to do that, right?
     
  12. Offline

    Andrew1431

    I've actually always wanted to know how to do this, not for this specifically but any github update thingy, if you could tell me how or post me to a tutorial!
     
  13. Offline

    SeySayux

    I'm going to assume you know how to use a terminal/console/command prompt/however you call it on your particular operating system and that you have the JDK and Git installed and that javac and git are in your PATH.

    For this particular case:
    1) Clone from github
    git clone https://github.com/Engelier/XcraftGate.git
    cd XcraftGate

    2) make a directory to compile to and copy plugin.yml there.
    mkdir dest
    cp plugin.yml dest

    3) Compile the sources (*)
    javac -classpath path/to/craftbukkit.jar:path/to/permissions.jar $(find src -name '*.java') -d dest
    (*) Only works on Mac and Linux. For Windows, this is probably different. Google for 'javac recursive' and see what it says.

    4) create a jar file from the sources you just compiled.
    cd dest
    jar c * > XcraftGate.jar

    If you get any errors in step 3, try reverting to a previous commit (Google 'git revert' for a full manual) or fixing it manually.

    Anyways, here is a jar file I made that compiles with 935, untested!

    http://dl.dropbox.com/u/2998925/XcraftGate.jar

    That jar file is about as stable as nitroglycerin and causes general server mess-up. I do not recommend using it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  14. Offline

    FarSideX

    Can you add seeds to world creation?
    I am trying to decide which world management plugin to use, this one seems to have the portal system I would like but seeds can not be used. Or point me in the direction of how to add a world without a plugin so I can create them and then just add with /gworld create.
     
  15. Offline

    Miningman98

    It says i dont have permission and i am OP on my server..... anyone know something about it??? Please reply.
     
  16. Offline

    SeySayux

    Edit the config file.
     
  17. Offline

    Engelier

    The map's center is always the world and location the map has been created. So for a map in your new world to work, you have to create it there.

    /gworld allowpvp <worldname> true

    Please read the documentation.

    Seeds will be added in v0.8 - that is, if I don't forget it another time :)

    Do you use any kind of permissions plugin? If yes: which one?
     
  18. Offline

    SeySayux

    Turns out the jar is fine, as long as you aren't using BiomeMod/PhoenixTerrainMod. The mod is 1,2,3-propanetriol, BiomeMod is nitric acid.
     
  19. Offline

    willystylee

    Could you add the ability to allow only certain animals instead of just animals & mobs on/off? We like having wolfs in the world but don't like all mobs like sheep, cow, pigs & chickens.
     
  20. Offline

    Virgo234

    I have the same problem as MiningMan; I am OP on my bukkit server, yet I don't have permission to use the /gworld command.

    And I don't exactly know what a permission plugin is, thanks if you could help.
     
  21. Offline

    Grrrr159

    When I create a world with /gworld create World1 Normal, it turns into Skylands every time.
    This is what I get:
    Code:
    2011-07-04 01:59:12 [INFO] [XcraftGate v0.7.2] loading world Guest (NORMAL)
    2011-07-04 01:59:13 [INFO] Preparing start region for level 4 (Seed: -8962204271724067741)
    2011-07-04 01:59:14 [INFO] Preparing spawn area for Guest, 8%
    2011-07-04 01:59:15 [INFO] Preparing spawn area for Guest, 20%
    2011-07-04 01:59:16 [INFO] Preparing spawn area for Guest, 28%
    2011-07-04 01:59:17 [INFO] Preparing spawn area for Guest, 36%
    2011-07-04 01:59:18 [INFO] Preparing spawn area for Guest, 40%
    2011-07-04 01:59:19 [INFO] Preparing spawn area for Guest, 48%
    2011-07-04 01:59:20 [INFO] Preparing spawn area for Guest, 52%
    2011-07-04 01:59:21 [INFO] Preparing spawn area for Guest, 57%
    2011-07-04 01:59:22 [INFO] Preparing spawn area for Guest, 65%
    2011-07-04 01:59:23 [INFO] Preparing spawn area for Guest, 73%
    2011-07-04 01:59:24 [INFO] Preparing spawn area for Guest, 77%
    2011-07-04 01:59:25 [INFO] Preparing spawn area for Guest, 81%
    2011-07-04 01:59:26 [INFO] Preparing spawn area for Guest, 85%
    2011-07-04 01:59:27 [INFO] Preparing spawn area for Guest, 93%
    2011-07-04 01:59:28 [INFO] Preparing spawn area for Guest, 97%
    2011-07-04 01:59:29 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-04 01:59:56 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    EDIT: Reinstalled and deleted config file, works fine.
     
  22. *EDIT*
    2 small requests/suggestions.
    [1st request] Can you make command so worlds can be like disabled/enabled,
    /gworld disable/enable - enables or disables world [doesnt delete world just disables it]

    [2nd request] Can you add seeds? to map making.
    New command be like this
    /gworld create <name> <environment> <SEED> - creates a new world on your server, <environment> may be "normal", "nether" or "skylands". defaults to "normal" if left blank

    Grate plugin! i got question, is it possible to link gates like this?
    /gate link MAP1 MAP2 so like 2 maps linked and if i make MAP3 can i link /gate link MAP3 MAP1
    MAP1 = TELEPORT ROOM[Home World], MAP2 = TOWN[Home World], MAP3 = NEW MAP [FLATMAP]
    So if i link map3 to map1 , and map1 to map2 will map 3 work with map1 gates?
    Jesus its so confusing!

    Keep up good work :)
     
  23. Offline

    Grrrr159

    Says this every time I use a teleport:
    Code:
    011-07-14 18:52:02 [SEVERE] java.util.ConcurrentModificationException
    2011-07-14 18:52:02 [SEVERE]     at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-07-14 18:52:02 [SEVERE]     at java.util.AbstractList$Itr.next(Unknown Source)
    2011-07-14 18:52:02 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.getEntities(CraftWorld.java:523)
    2011-07-14 18:52:02 [SEVERE]     at org.darksoft.electricfence.ElectricFence$1.run(ElectricFence.java:94)
    2011-07-14 18:52:02 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-14 18:52:02 [SEVERE]     at java.lang.Thread.run(Unknown Source)
     
  24. Offline

    Zodiac

    Code:
    2011-07-16 16:06:07 [SEVERE] java.util.ConcurrentModificationException
    2011-07-16 16:06:07 [SEVERE]     at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782)
    2011-07-16 16:06:07 [SEVERE]     at java.util.ArrayList$Itr.next(ArrayList.java:754)
    2011-07-16 16:06:07 [SEVERE]     at org.bukkit.craftbukkit.CraftWorld.getPlayers(CraftWorld.java:559)
    2011-07-16 16:06:07 [SEVERE]     at de.xcraft.engelier.XcraftGate.XcraftGateWorld.checkCreatureLimit(XcraftGateWorld.java:119)
    2011-07-16 16:06:07 [SEVERE]     at de.xcraft.engelier.XcraftGate.XcraftGate$RunCreatureLimit.run(XcraftGate.java:50)
    2011-07-16 16:06:07 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-16 16:06:07 [SEVERE]     at java.lang.Thread.run(Thread.java:636)
     
  25. Offline

    Zeeky

    Skyworld don't generate good, after a bit , it just generates default land...

    :(

    doing something wrong?
     
  26. Offline

    Tuttu

    I also have a problem with my old (1.6.6) skyland. After the update to the last CB / XCraftGate version, I can't go in it. I can go in all my normal worlds, but not in the skyland one.
    There are no logs server side and just a NullPointerException client side. I looking around to see if the problem comes from your plugin or not and I will keep you inform. ;)

    I have just created a fresh new skylands world and I can't access to it. The problem comes either from CraftBukkit or from your plugin.

    Here is the complete error :
    Code:
    java.lang.NullPointerException
            at fd.<init>(fd.java:89)
            at mm.<init>(SourceFile:37)
            at nb.a(NetClientHandler.java:71)
            at nz.a(SourceFile:43)
            at pf.b(SourceFile:279)
            at nb.a(NetClientHandler.java:62)
            at vx.a(SourceFile:44)
            at net.minecraft.client.Minecraft.k(SourceFile:1302)
            at net.minecraft.client.Minecraft.run(SourceFile:754)
            at java.lang.Thread.run(Unknown Source)
     
  27. Hi all,

    I am trying to place portals to other worlds underground, in caves. But eacht time i tried and i make a loop between 2 i am placed on de surface above where the gate (portal) is below it.

    Is it something i do wrong or is it not possible to build below groundlevel ?

    I tried at groundlevel and then they work.

    Thks
     
  28. Offline

    ultimak

    I found a bit of a bug/issue with the border. Its very, very easy to get stuck in the border and not be able to get out or even look around. Can this be fixed, or should I just look for a separate border plugin?
     
  29. Offline

    VeryInsane

    Working for #1000?
     
  30. Offline

    Engelier

    I already thought about "dynamic loading", so a world loads only if a player wants to port to it and is unloaded x minutes after the last player left. Still not sure if that's a good idea.

    implemented in v0.8

    probably fixed in v0.8

    I also saw very strange things happening with skylands ... but that's not XcraftGate related. World generation is handled by CraftBukkit itself.

    This has to do with the server trying to "safe" you from being obstructed. This doesn't happen if you stand exactly in the middle of your block when creating the gate.

    v0.8 will make sure that always the middle of the block is used.

    I know. That's because bukkit messed up the from-Location in PLAYER_MOVE. I added a workaround for v0.8.

    It should.


    Since yesterday a beta version of v0.8 is running on our public server to catch the last bugs before release. I think I'll be able to release v0.8 later this week.
     
  31. Offline

    quickclay

    Wow after searching far and wide, this plugin was the reason PVP got disabled across our server! Please set PVP to default to whatever the server.properties setting is! Otherwise, love this plugin. :)
     

Share This Page