[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

    ultimak

    @Mabboon What CB version are you on?
     
  3. Offline

    isikerkan

    Do you can Update it for CB 935?
    And please a flatland support.

    Und wenn du Deutscher bist HI :D
     
  4. Offline

    Warrows

    Hi,
    I like your plugin. But, I'm recently getting a strange issue. Players in world world are healed. There is creatures and animals in this world, they are active in server.properties. This does not occure in other worlds and stops if I uninstall your plugin.
    Warrows
     
  5. Offline

    Grrrr159

    When I try to warp to world that I used "/gworld create Aether Skylands" It gives error saying "Error: Couldn't find a safe spot at your destination" How do I fix this?
    EDIT: My bad, Just had to restart server and it was fine :)
     
  6. Offline

    Engelier

    update released

    to those with the "PLAYER_MOVE"-errors: This happens when XcraftGate doesn't know about that world. It's probably your main world automatically loaded by craftbukkit. Just add it with /gworld create and the errors should disappear.
     
  7. Offline

    Tuttu

    Oh yes, version 0.7 with the time freezing features ! Thank you. I will just wait the first recommended build compatible with MC 1.7 to make my update. One update is sufficient.

    Anyway, you have done a really good job. Thanks. :)
     
  8. Offline

    Jademalo

    Im having a bit of a crysis - Nothing is loading. Its loading my main worlds, the warps onm those worlds, and thats it. No other worlds are loading, and I dont know why.

    Ive just upgraded from 0.3 or something, the one before the skylands update, to 0.7, and its simply ceased to l;oad my old worlds. Ive got far too many warps to redo them all manually, is there anything I can do?

    EDIT:

    Code:
    CONSOLE: This server is running Craftbukkit version git-Bukkit-0.0.0-894-g8e37caf-b940jnks (MC: 1.6.6)
    Permissions: (Yeti) was initialized.
    Permissions: version [3.1.6] (Yeti) loaded
    CONSOLE: Loaded Essentials build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    CONSOLE: Loaded EssentialsGeoIP build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    CONSOLE: This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    CONSOLE: Loaded EssentialsChat build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    Permissions: SQL Interface enabled!
    Runecraft: Rune blacklist with 0 runes loaded.
    Runecraft: Loaded:
    Runecraft:  - 11 waypoints, 10 teleporters
    Runecraft:  - 2 position runes
    Runecraft:  - 0 rune pads
    Runecraft:  - 4 player data sets
    Runecraft:  - 11 block runes
    Runecraft: World 'JadeCraftDesert': id 2.
    Runecraft: World 'JadeCraftBukkit': id 3.
    Runecraft: World 'JadeCraftSelen': id 4.
    Runecraft: World 'ChrisScotty': id 5.
    Runecraft: World 'JadeCraft': id 0.
    Runecraft: World 'JadeCraft_nether': id 1.
    Runecraft: Runecraft 2.7 initialized.
    CONSOLE: Runecraft plugin version 0.4 is enabled!
    XcraftGate: v0.7] hooked into Permissions 3.1.6
    XcraftGate: v0.7] by Engelier loaded.
    XcraftGate: v0.7] loaded 6 gates
    CONSOLE: Loaded EssentialsSpawn build 2.3.7 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    CONSOLE: McMyAdmin Compatibility Plugin version r14 started.
    HeroicDeath: 1.8.1.156 enabled.
    CONSOLE: WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    CONSOLE: WorldGuard: (JadeCraft) Single session is enforced.
    CONSOLE: WorldGuard: (JadeCraft) TNT ignition is PERMITTED.
    CONSOLE: WorldGuard: (JadeCraft) Lighters are PERMITTED.
    CONSOLE: WorldGuard: (JadeCraft) Lava fire is blocked.
    CONSOLE: WorldGuard: (JadeCraft) All fire spread is disabled.
    CONSOLE: WorldGuard: Loaded configuration for world 'JadeCraft"
    CONSOLE: WorldGuard: (JadeCraft_nether) Single session is enforced.
    CONSOLE: WorldGuard: (JadeCraft_nether) TNT ignition is blocked.
    CONSOLE: WorldGuard: (JadeCraft_nether) Lighters are PERMITTED.
    CONSOLE: WorldGuard: (JadeCraft_nether) Lava fire is blocked.
    CONSOLE: WorldGuard: (JadeCraft_nether) All fire spread is disabled.
    CONSOLE: WorldGuard: Loaded configuration for world 'JadeCraft_nether"
    CONSOLE: WorldGuard 5.0-alpha10 enabled.
    It seems that Runecraft is picking up these worlds, but they just arent being loaded. Doing gworld list shows only JadeCraft and JadeCraft_nether
     
  9. Offline

    Engelier

    Hrm. Load your old worlds with /gworld create, stop your server, put a backup of your gates.yml in the plugins folder and restart your server. Everything should be fine.
     
  10. Offline

    drakowolf

    Also 0.7.1 appears to cause an issue with all food. all food attempted to be consumed does not provide any health.
    Once removing this plugin food worked again,, put it back food dont work.
     
  11. Offline

    Engelier

    Tested it multiple times now. Works as expected, except for cookies.
     
  12. Offline

    Jademalo

    ..Right, this is getting stranger and stranger. I cant create new worlds. It just throws back the help menu.
     
  13. Offline

    Warrows

    Thanks, latest release fixed heals.

    But, i got an other problem. Your plugin is running last during plugin loading.
    And the cuboid plugin (residence) i'm using load before. But bad because worlds where cuboids are aren't loaded. Could you increase the loading priority of your plugin?
     
  14. Offline

    Engelier

    Be sure to mention the appropriate environment as last parameter. E.g. if you main world is names "world" you'd add it with "/gworld create world normal".

    Residence has a config option where you can name your world management plugin. Just set it to "XcraftGate" and it should work fine.
     
  15. Offline

    Jademalo

    Shouldve said, I still get the same problem.
    And I cant test now because im on 1.7 :|
     
  16. Offline

    TetraStorm

    TimeFrozen isn't working. The time still changes.
     
  17. Offline

    Jademalo

    Well, its magically fixed itsself. Yay. Also, the format of the worlds file has been changed DRAMATICALLY, so it was no wonder it didnt work. It decided to let me add worlds this time though.
     
  18. Offline

    ryanshawty

    It needs updating to 946 ;) That would be great.
     
  19. Offline

    Warrows

    Thanks for your attention, everything works fine now, I like it.
     
  20. Offline

    Jademalo

    Hey, Ive got a request =]
    would it be possible to make a gate.. "locked"? for example, If i locked Gate 1, and gate 1 and gate 2 were looped, I could go through gate 2 to gate 1, but not gate 1 to gate 2?

    Now, my reasoning for requesting this also would require an extra permission, so that people with this certain permission node could go through locked gates. This is mainly so I can make a gate to a mod world that my normal members couldnt access, without giving mods control over the gates.

    Is that at all possible?
    Thanks =]

    EDIT: Just thought of another one, Would it be possible to make a command that synchs the time accross all worlds?
     
  21. Offline

    DutchCraft

    With Bukkit 1.7.2 I seem to get stuck in endles loops while going in my portals. Got any idea why ? Wasnt with 1.7.1.

    Or is it the current Build im using of Bukkit?
     
  22. Offline

    uncovery

    same here.
     
  23. Offline

    DutchCraft

  24. Offline

    CraigMcgurty

    Hello :) i'm kind of new to all this, but i was wondering if you could make a disable build command, so you could disable building on one world and then portal to another where people can build, so to make like a starting place where no one can build but can interact with shops i have made and stuff then teleport out to a world where they can build and create things then portal back for trades etc :) or would this be impossible?
     
  25. Offline

    DutchCraft

    Main priority now is to fix the endless loop bug in 1.7.2.
     
  26. Offline

    vicelikedust

    Just to let you know the new bukkit update has hindered some of your plugin glitchy, when you go into a gate and get teleported and try to walk out you now get teleported back and this happens for a little while
     
  27. Offline

    DutchCraft

    Indeed, hope there is a fix soon.
     
  28. Offline

    andrewpo

    Confirmed^^^^

    Pleasepleaseplease fix this :) I'll donate some money if it's done today or tomorrow if you have a paypal

    A simple fix: Make it like epicgates so when you go through one, it puts you one block offset from the destination gate
     
  29. Offline

    DutchCraft

    Ive been told by pm Engelier would look into the update today. So there might be an update today :)

    Edit: Also Time seems to be not changing anymore ( day/night / weather ).
    Unfreezing the time and set to day again, seemed to help i think.
     
  30. Offline

    Engelier

    Update for CB953/MC1.7

    That is simple, but dirty. That's not my style. You said gate's location is x, y, z so the user will get teleported to x, y, z and not x+1, y-1, z+2 or something else.

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

    bassfader

    I think I've found a bug... If you build and loop (didnt test with just linking) portals within the same world, and these Gates are far away from each other, then the Chunk where the Target gate is in sometimes doesnt get loaded so the Teleported player will fall into "void" (empty space). The Chunk will stay unloaded untill the player restarts the Game. The Chunk will only be and stay unloaded for the one player all other players see the Chunk just as usual.
     

Share This Page