[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

    andrewpo

    Thanks for the update!
    Could you make a /gate here command to see what the gate is called that you're standing in?

    Or maybe make it so you can point your cursor at a gate, run the command and it returns the name?

    Finding it difficult to manage them on my server.

    Thanks so much ^.^

    -Andy
     
  3. Offline

    yaitsbilly

    Does this have per world inventories?
     
  4. Offline

    Engelier

    That's not related to XcraftGate. It doesn't deal with chunks. CraftBukkit does that.

    There will be some sort of "find near gates" in version 0.8 (to be honest, i'd planned it for 0.6 or 0.7 but just forgot about it :/)

    Nope. You can use MultiInv, which does exactly that and nothing else.
     
  5. Offline

    bassfader

    I don't know how your Plugin works since I didn't have the time to take a look at your GitHub yet :) But I just took a look at the Bukkit API and thought that maybe its possible somehow like this (assuming "TargetBlock" is the Block where the player will be teleported to):
    Code:
    org.bukkit.block.Block TargetBlock;
    org.bukkit.World TargetWorld;
    org.bukkit.Chunk TargetChunk;
    
    TargetWorld = TargetBlock.getWorld();
    TargetChunk = TargetBlock.getChunk();
    
    if (!TargetWorld.isChunkLoaded(TargetChunk))
    {
            TargetWorld.loadChunk(TargetChunk);
    };
    Thats just a very quick thought from some coder who didn't have enough spare time to look into CraftBukkit Plugin coding yet, and as I allready said I don't know how your Plugin works so it maybe impossible due to the way how it works. But maybe this gives you an idea how this may be possible, so I thought I'd post my little "investigation" here ^^

    Theres really no offense intended, please don't take this wrong! :)
    I just "tripped over" that command while browsing through Bukkit's API since I am just looking into plugin coding ^^ So I thought I'd share it here too.

    And again, great Plugin you have created there! Big thanks for that anyways! :cool:


    Regards, Bassfader
     
  6. Offline

    Engelier

    I appreciate your will to help. But your code won't help. loadChunk just tells the server to read the chunk data from disc and store it in memory. The server already does that on it's own. The problem in your case is, that the specific chunk doesn't get sent to the client. That should have been fixed in CB856. And I didn't notice this bug since then again.
     
  7. Offline

    bassfader

    Damnit:oops: That would've been too easy anyways xD

    But its strange that it should've been fixed in CB856 cause it still happens here even I am on CB953 allready, and it also happened in CB860. Its just a very strange behaviour and I thought it'd be related to the plugin since I can teleport myself anywhere (even far far away) using any commands, just when building and looping / linking Portals which are 100+ or 200+ Blocks away from each other this happens so I thought I'd report it.

    It would've been nice to have portals inside the same world for having to walk less, but well I guess I have to build a rail system or something like that.

    But thanks for the fast answers and clearing things up :) Maybe it'll be fixed in a next CB Build, at least I'll hope so ^^
     
  8. Offline

    Noucki

    I know that you will hate me .... There is still endless loops ...
     
  9. Offline

    Keri

    Can Confirm that endless looping still occurs. But very nice plugin, worked like a charm before updating to 1.7.2.
     
  10. Offline

    andrewpo

    Infinite loops seem to have stopped on mine :confused:
     
    cproetti likes this.
  11. Offline

    vampirepiggy9

    when i try to import a world it just creates a normal world that isnt the one i sed???
    plz help
     
  12. Offline

    dominichello

    I im interested in downloading your addon purely for the portal stuff, but first i wanted to asked a few things..

    Is there a size limit too the shape / dimentions of the portal?
    As long as you stand within a "frame" will it use that frame as the portal "gateway" - are there any limitations with this?
    I noticed from the vid all the portals were 1x2 and had a back too them - does this have to be the case? - or can i have an open portal?
    Are the portals limited to a material ID? Ie obsidian.

    Also would it be possible to have a "portal" surface, ie water or the default portal swirls to indicate that a portal is active?

    It would be awsome to have giant portals of any shape/size with a swirling vortex [nether portal] stuff or water in the middle :)

    Anyway :) loved the look of the addon hope to trial it soon thnx
     
  13. Offline

    Tuttu

    With XCraftGate, there are not really portals. When you use the /gate create XXX command, it will create a teleportation point to the block you are standing on. If you want to teleport yourself from a 2 blocks wide gate, you will have to create two "teleportation points", one for each block. :)
     
  14. Offline

    dominichello

    ahh i get ya thnx for clarifying it :)
     
  15. Offline

    +JesseCurlz+

    I know you probs have a couple of glitches to fix with this plugin but i have to say that when i try to warp to my Original world, it says "Error:Unknown world: LegendaryCraft". I triple checked the spelling and typed /gworld list to make sure that the capitals and spelling are correct but cant seem to get back so ill have to delete this plugin until the glitches are solved. Great plugin though :)
     
  16. Offline

    andrewpo

    May I please suggest for v0.8 that you add an option in a config file to disable the world management section of the plugin? I love the gates part but I've already set up worldguard to do the world management side of things.

    So something like
    Code:
    worldmanagement:
        enabled: false
    ...
    gates:
        enabled: true
    in a YML

    ...don't forget the /gate here command (or similar) :)
    Thanks ^.^
     
  17. Offline

    Engelier

    Due to Mojang refusing to release a patch for the piston dupe bug, our server still runs 1.6.6 - on my local 1.7 server I'm unable to reproduce any looping. Perhaps you can provide some more infos how to reproduce this? Is this happening with all gate, or just some particular?

    Make sure your world is in your server's folder and make also sure you spell it right when importing (case matters!).

    Try: /gworld create LegendaryCraft normal

    There seems to be a problem detecting the default world ... and I don't know why. I'll dig into this before releasing 0.8


    Until v0.6 or so I tried to keep both parts fully optional, but had to realize, that's causing to many problems. So the world management part is mandatory by now.

    But: We're using XcraftGate and WorldGuard, too. And both team up perfectly. The defaults should suit any "not too crazy" setup, so you should be able to ignore most options.
     
  18. I love this plugin, works fine and its lag free!
    You ppl should definetly download this! :)
    only proplem i got (might be coz my shit(ty) computer or 2Gib upload speed) is that when i create new world for example pvp world -> it creates the world but it wont load it :( i go there and i cant load the map -> start getting read time out :( then i restart server -> world still is there and i spawn back to normal world -> i try go again -> again the same.

    Teleports in this plugin are AWESOME :)
     
  19. Offline

    Noucki

    It happend with all the gates AND we are runing a 1.7.2 server. Excuse me but I don't know what else can do this bug...
     
  20. Offline

    Pyraah

    I've an error :
    Code:
    14:00:24 [SEVERE] java.util.ConcurrentModificationException
    14:00:24 [SEVERE]       at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
    14:00:24 [SEVERE]       at java.util.AbstractList$Itr.next(AbstractList.java:343)
    14:00:24 [SEVERE]       at org.bukkit.craftbukkit.CraftWorld.getLivingEntities(CraftWorld.java:541)
    14:00:24 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGateWorld.checkCreatureLimit(XcraftGateWorld.java:119)
    14:00:24 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGate$RunCreatureLimit.run(XcraftGate.java:50)
    14:00:24 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    14:00:24 [SEVERE]       at java.lang.Thread.run(Thread.java:662)
     
  21. Offline

    mrbb7197

    endless looping stopped. none of my portals work anymore though... please tell me how i can fix this without losing all my gates
     
    cproetti likes this.
  22. Offline

    cproetti

    you can remove all your gates and re-add all of them again, worlds too or edit the text files to be comparable with the new version
     
  23. Offline

    andrewpo

    Wait - It's not been made so every single gate has to be remade has it?
     
  24. Offline

    Engelier

    Since Mojang finally decided to release the bug fixes for 1.7 we'll upgrade our server pretty soon, so I've another environment to test on. But to this point I'm still unable to reproduce any looping.

    Hrm. That tells me nothing. Is this error reoccuring? Under which conditions?

    Any errors on the console?
     
  25. Offline

    Xenophod

    I upgraded bukkit to 953 and decided to upgrade some plugins too.

    After I upgraded bukkit to 953 it appears that XcraftGate v0.4.1 was working fine. I stopped the server and replaced XcraftGate.jar with the new version and started the server again. Here's some of the output from the startup:


    Code:
    16:34:18 [INFO] [XcraftGate v0.7.2] by Engelier loaded.
    16:34:19 [INFO] [XcraftGate v0.7.2] loading world world_new (NORMAL)
    16:34:19 [INFO] Preparing start region for level 2 (Seed: -7691328859544918736)
    16:34:20 [INFO] Preparing spawn area for world_new, 40%
    16:34:21 [INFO] Preparing spawn area for world_new, 81%
    16:34:21 [SEVERE] java.lang.NullPointerException
    16:34:21 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGateWorld.setAllowAnimals(XcraftGateWorld.java:163)
    16:34:21 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGate.loadWorlds(XcraftGate.java:223)
    16:34:21 [SEVERE]       at de.xcraft.engelier.XcraftGate.XcraftGate.onEnable(XcraftGate.java:96)
    16:34:21 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    16:34:21 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    16:34:21 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    16:34:21 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    16:34:21 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    16:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    16:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    16:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    16:34:21 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    16:34:21 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate tess_a found in unkown world tess. REMOVED!
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate tess_world found in unkown world tess. REMOVED!
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate cave_max_1 found in unkown world max. REMOVED!
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate world_B found in unkown world world_B. REMOVED!
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate max_world found in unkown world max. REMOVED!
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate D has an invalid destination. Destination removed.
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate B has an invalid destination. Destination removed.
    16:34:21 [SEVERE] [XcraftGate v0.7.2] gate C has an invalid destination. Destination removed.
    16:34:21 [INFO] [XcraftGate v0.7.2] loaded 23 gates
    
    I logged into the server and found only three worlds out of 6 showing in the /gworld list

    When I was logged in, this was error was flooding to the console at a rate of 3 times per second:


    Code:
    16:40:45 [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:321)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:163)
            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:84)
            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)
    

    I stopped the server but didn't see a "plugin disabled" message like most other plugins. I'm not sure if that's normal for XcraftGate.

    I started the server again, hoping it would get better, however this is what I saw upon startup:


    Code:
    16:45:42 [INFO] [XcraftGate v0.7.2] by Engelier loaded.
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate D found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate E found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate F found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate G found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate A found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate B found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate C found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate L found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate far found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate H found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate I found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate J found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate K found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate helms_deep found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate visitor_center found in unkown world world_new. REMOVED!
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate joe_brick has an invalid destination. Destination removed.
    16:45:42 [SEVERE] [XcraftGate v0.7.2] gate baerlon_world has an invalid destination. Destination removed.
    16:45:42 [INFO] [XcraftGate v0.7.2] loaded 8 gates
    

    now, /gworld list returns only the default world and the default nether. All of my other worlds are not listed, (They still exist on the server however.)

    This time, the console was flooded with the following error at a rate of 7 times per second:

    Code:
    16:47:00 [SEVERE] Could not pass event CREATURE_SPAWN to XcraftGate
    java.lang.NullPointerException
            at de.xcraft.engelier.XcraftGate.XcraftGateCreatureListener.onCreatureSpawn(XcraftGateCreatureListener.java:14)
            at org.bukkit.plugin.java.JavaPluginLoader$63.execute(JavaPluginLoader.java:684)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:234)
            at net.minecraft.server.World.addEntity(World.java:847)
            at net.minecraft.server.SpawnerCreature.spawnEntities(SpawnerCreature.java:134)
            at net.minecraft.server.World.doTick(World.java:1684)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    

    I've copied my old plugins folder back and reverted to XcraftGate v0.4.1 which seems to be working fine with bukkit 953


    I'm running FreeBSD:
    FreeBSD 7.1-RELEASE-p6

    and Java is:
    > java -version
    java version "1.6.0_03-p4"
    Java(TM) SE Runtime Environment (build 1.6.0_03-p4-xeno_28_jan_2011_06_02-b00)
    Java HotSpot(TM) Server VM (build 1.6.0_03-p4-xeno_28_jan_2011_06_02-b00, mixed mode)
     
  26. Offline

    DJNightchild

    A simple question.

    Is it possible to stop XcraftGate from controlling the mob-spawns?

    We've got problems with our tamed wolves, they keep dissapearing when I need to reload the server (because of a new plugin for example).

    So again: Is there a way to stop this, or do I need another plugin who counters this? (if there is any)

    Thanks.

    P.S
    It's a great plugin by the way
     
  27. Offline

    bocaj812

    can you implement iconomy with this?
     
  28. Offline

    MrMArs

    Do you need a Permission node thing to use gates? And is there a way to let only certain players use certain gates
     
  29. Offline

    Engelier

    The worlds.yml changed slightly in v0.6. Easiest way to fix this:

    - stop your server
    - backup your gates.yml
    - delete your worlds.yml
    - update XcraftGate
    - start your server
    - readd all your worlds with /gworld create
    - stop your server
    - copy your backup of gates.yml back to plugins/XcraftGate/
    - start your server

    This may happen, if you have creaturespawns limited. Use: /gworld setcreaturelimit <world> 0 to disable this feature and your wolfes should be fine.

    Nope. As of now anyone can use any gate.
    But permissions for gates are on my ToDo.

    I can. But for what? Creating gates? Use CommandIConomy. Using gates? Hrm. Maybe in the future. Another use?
     
    Xenophod likes this.
  30. Offline

    DJNightchild

    I've checked the creature limit, disabled it and reloaded. Still the wolves keep disappearing. It seems as if the whole world is resetting... (except for the buildings ofcourse)
     
  31. Offline

    Engelier

    You're right. I found the problem. Will be fixed in v0.8.
     

Share This Page