[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. It is but i said would be better if it were /gworld load <worldname> and /gworld unload <worldname>
    so when load world is loaded and ready able to teleport to and same with unload, when unloaded you cant teleport to world unless its loaded.

    *Edit*

    Can you help you still didnt answer my question :(

    IS it possible to link multiple gates?! like gate1 to gate2 and gate3 to gate1 ?
    and what would i write!!!!!?
    Thanks!

    Pasted from my pre-previous post:

    Code:
    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!
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  3. Offline

    Keri

    How can I create a classic world in addition to an already existing survival world?
    Just asking because you told that you can use xcraftgate like that in the description
     
  4. Offline

    Rwembee

    @Keri: I did it by using multiinv and permissions. Multiinv is per world items. Permissions to allow creative tools only on that world, and if things like mcmmo not allow xp gain.

    @Dark_Messiah, you should just try it sometimes.
    I made 3 pads, and did /gate link 1test 2test, /gate link 2test 3test
    The results were, stepping onto 1 warped me to 2, but did not auto warp me to 3, I had to step off then back on.
    If you want them to end up at 3, either just link 1 and 3, or make a 4th portal just in front of 2 so they have to walk on it.
     
  5. Offline

    Shadowlander

    I've an odd problem. I can successfully warp to another world then warp back. When I warp back, I am placed on the roof above my return warp point. I am using this same warp point as a return point for other gates within the same world as well.
    Any ideas?
     
  6. Offline

    Hacr

    not working :(
     
  7. Offline

    andrewpo

    Care to elaborate?

    I can confirm it works find on build 1003 with plugins:
     
  8. Offline

    Vas

    Hey, since my server was shut down by a friend who is no longer a friend. I'd like to use this mod in single player. Could you think about making a single player release for it? Even if you must use single player commands, I'd like to see this in single player. I do have single player commands installed for world edit. I also noticed that with Fire Tools that all portals will regenerate your gold tools. Even if you used them up in one world and teleport to another or just teleport to another place locally within a world I believe.
    http://forums.bukkit.org/threads/fu...s-useful-optional-permissions-953-1000.25944/
     
  9. Offline

    andrewpo

    I get about 4 of these every second in my logs ever since I made a nether world =/

    Plugins:
    Bukkit version 1003:
    Also, any progress with the /gate here or similar command? :)

    Is my report lacking something? let me know ^.^

    Thanks for making an awesome plugin (when it works, which is nearly all the time =D)
     
  10. Offline

    Monstertke

    I am getting spammed with the above also. Could not pass event CREATURE_SPAWN and Could not pass event PLAYER_MOVE.

    Hundreds and hundreds at a time. Im on build #1000
     
  11. Offline

    Pythros

    Works in CB 1025 but I get the following from time to time. I think you said it is fixed in v0.8?

    Code:
    05:35:30 [SEVERE] java.util.ConcurrentModificationException
    05:35:30 [SEVERE]       at java.util.ArrayList$Itr.checkForComodification(ArrayL
    ist.java:782)
    05:35:30 [SEVERE]       at java.util.ArrayList$Itr.next(ArrayList.java:754)
    05:35:30 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.getPlayers(CraftWor
    ld.java:551)
    05:35:30 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.setFullTime(CraftWo
    rld.java:405)
    05:35:30 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.setTime(CraftWorld.
    java:394)
    05:35:30 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGateWorld.resetFr
    ozenTime(XcraftGateWorld.java:132)
    05:35:30 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGate$RunTimeFroze
    n.run(XcraftGate.java:59)
    05:35:30 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(Craf
    tWorker.java:34)
    05:35:30 [SEVERE]       at java.lang.Thread.run(Thread.java:636)
    
     
  12. Offline

    Captain Donut

    Hi there, say I got a peaceful building world on my server and gates that port you to another PVP and monster-enabled world. Is there any way of surpressing the auto healing on a world with monsters enabled? Tried NoRegen and it didn't seem to work. I really like your mod and my server is almost ready to go. :)

    EDIT: Yeah, I also get the could not pass event PLAYER_MOVE and CREATURE_SPAWN messages spamming my console when I enter the nether.
     
  13. Offline

    uncovery

    Could you do a
    /gate warp <name> <username>
    which would teleport the user named to that spot?
     
  14. Offline

    Rwembee

    @Vas could you not just run a server on your own machine?

    I understand if you are resource constrained, but just because it's a multiplayer server doesn't means you have to let others in.
     
    Pythros likes this.
  15. Offline

    mesones

    hey guys,
    all works, create, link, but i cant teleport me. whats up there ?
    sorry for my bad english ^.^
     
  16. Offline

    Monstertke

    Code:
    2011-07-25 16:15:24 [SEVERE] Could not pass event PLAYER_MOVE to XcraftGate
    java.lang.NullPointerException
        at de.xcraft.engelier.XcraftGate.XcraftGatePlayerListener.onPlayerMove(XcraftGatePlayerListener.java:23)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:164)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    Hey man this is getting serious.... I have 20Mb log file in 1 day full of this and others from this plugin.
    You have a few people complaining about this could we get some help?
     
  17. Offline

    Engelier

    Sorry for the update-delay. I intended to release v0.8 last weekend but in the last minute a serious bug kicked in I'm currently fighting against.

    I don't think so. But if I were you, I'd use a local server just for me, instead of SSP. Despite the various server plugins that could be used, you don't have to patch your client over and over again.

    I won't dig into this right now. I've a good idea of what this might be and I'm pretty sure this will be fixed with 0.8.
    So let's wait for that and see if the error persists.

    Yep. 0.8 has /gate list and /gate listnear [radius] commands.
     
  18. Offline

    Vas

    Engelier. I can't run a server on my own system. I can no longer find a system I can even host on. My host kicked me off as we had to many fights. Servers can not be run on 1GB of ram, I tired even a blank empty server. Minecraft client alone takes 600 to 1000MB of memory and I only have a total of 2GB. My client crashes after a duration of 4 or 5 hours from lack of memory as there is a memory leak somewhere in the game.

    I wanted this mod for single player so I could actually do some of the stuff I like very much about this mod and was going to see if some of the other modders could also convert theirs for single player as well. World Edit already is for single. I can't work on my server in single player if I can't use the mods related to it you know?

    My system sucks, I know. I tried everything to clear enough memory for just the server alone but I can't. I can save at most 1.3GB of memory and when I tried to run the server with that, it just kept overloading every 2 seconds. Intel Core 2 Duo 2.0GHz, nVidia GeForce 8400 GS, 2GB RAM - Obviously not enough power to run my server even without mods. :p Don't you agree?
     
  19. Offline

    Sonorpearl

    When do you think, you can release the Version 0.8?
     
  20. Offline

    Engelier

    I think I nailed it down. But to be sure I'll let it run another night on our server. If by tomorrow none of our users reports any further issues, I'll release it.

    This update focusses heavily on gates, so also small bugs are very annoying for your users. Trust me - you *want* me to test everything sufficiently :)

    To fill the gap, those of you using Permissions might want to add XcraftGate.use.* to your groups, so everything keeps working as it does now (The * maybe substituted by a gate's name for more control over single gates).
     
  21. Offline

    Sonorpearl

    Its ok, that you test it. But isnt it better, when you release a Dev-Version of it. Some other Server want to help, too. Or might find bugs and report them. The chance is bigger!^^
     
  22. Offline

    andrewpo

    One of my admins modified and recompiled your plugin (wrapped a block of code with an if statement) to partially fix the nether bug, so it's alright for now on my server :p
     
  23. Offline

    Vas

    I fixed that spam glitch by closing the server and manually adding the affected world to the config list. Any plans on a single player release though after having seen my issues with hosting a local server to use it?
     
  24. Offline

    Sonorpearl

    It is named, Dev-Version. And it can have Problem if we are taking it. We have to deal with it. ;-)
     
  25. Offline

    leonkpwie

    my xcraftgate isn't workin anymore. here's my server log:
    EDIT: the new update fixed my issue. thanks :)
     

    Attached Files:

  26. Offline

    Engelier

    released v0.8

    You should read the changelog, especially those of you using Permissions/GroupManager!
     
  27. Offline

    Tuttu

    Nice, thank you. I'll update the plugin on my server as soon as I can.
    Any idea of when the skyworlds world will be fixed by the Bukkit team ?
     
  28. Offline

    quickclay

    For some reason, bukkitupdater doesn't think 0.8 is the latest version. Hmmm
     
  29. Offline

    EMOberger

    when i die i spawn at the original world....this is very bad for what i am trying to do xDDD
     
  30. Hey omg thx big for new update :DDDDDDDDDDDDD gonna dl!!
     
    Masterflapdrol likes this.

Share This Page