[MECH] Glowstone Lanterns - Make glowstone lanterns, daytime glass & nighttime glowstone

Discussion in 'Inactive/Unsupported Plugins' started by Tim Visee, Jul 9, 2011.

  1. Offline

    Tim Visee

    Glowstone Lanterns - Make glowstone lanterns, daytime glass & nighttime glowstone
    [​IMG]


    The Glowstone Lanterns project page has been moved. Go to one of the two pages bellow to get to the Glowstone Lanterns project page, with the newest download available:
    You can view the original page in the spoiler bellow. It's highly recommended to visit one of the above sites, to view the up-to-date pages.
    Original Page (open)

    With this plugin Glowstone Lanterns you can make lanterns, when it's going dark the glass of the lanterns will change in glowstone and when it's daytime it will change in glass again. The great thing is that you don't need to place a full lantern but only a glass/glowstone block, so you can use it for everyting. This plugin is very usefull for a large city to light it up, that looks really cool that the lanterns will change in glowstone! You can also place prebuilt lanterns, so that's really usefull if you want to plase a lot of lanterns in a little time.
    You can enable glowstone lanterns with /gl, when you place a glass or a glowstone block it is marked as a glowstone lanterns, this block will change to glowstone if it is night and to glass if it is daytime. If you use /gl l 1 you will enable prebuilt glowstone lanterns, if you place a glass or a glowstone block there will apear the prebuilt glowstone lantern you selected right there. There prebuilt lanterns are in external files, so you can make your own prebuilt lanterns and share them with other pelople.
    Note: When you haven't permissions on your server, the plugin is avaible for all the OP's

    Official page (suggested): http://www.timvisee.com/projects/bukkit/glowstone-lanterns/
    Bukkit DEV: http://dev.bukkit.org/server-mods/glowstone-lanterns/

    Video
    In this video you can see how the plugin works :) (Outdated Video)


    Features:
    • Permissions support
    • Multi world support
    • Place prebuilt lanterns that are located in external files, you can make them and share them with other pelople
    • Posibility to create your own lanterns
    • Players can only destroy lanterns if he have permission
    • And a lot more!
    Upcomming Features:
    • Costum messages and color support
    • In-game prebuilt lanterns creator
    What are prebuilt lanterns?
    Prebuilt lanterns are a really usefull feature in Glowstone Lanterns. You could place a prebuilt lantern by enableling the prebuilt lantern mode and then by placing a glass block or any other lantern block as your usually do with the normal lantern blocks. When you done that a lantern will spawn, for example when you place a glass block a lantern will spawn with a wooden base, a wooden fence pole and a glass/glowstone lantern on it. You could also spawn other prebuilt lanterns which could be used to hang on the ceiling for example. They are just really usefull because they will automaticly create a lantern. So the basic thing why there are prebuilt lanterns are is because you could easily create any lantern you want by only placing a glass block.

    Player Commands
    /gl, /glowstonelantern or /glowstonelanterns
    - Enable glowstone lanterns
    /gl lantern <lantern-id> or /gl l lantern <lantern-id>
    - Enable prebuilt glowstone lanterns
    /gl lantern or /gl l
    - Disable prebuild glowstone lanterns​
    /gl list lanterns or /gl list l
    - List the prebuilt lanterns​
    /gl help
    - View the help
    /gl info
    - View info (see if glowstone lanterns is enabled)
    /gl save
    - Save the glowstone lanterns list
    /gl reload
    - Reload the lanterns list
    /gl verion
    - View current running verion number

    Download
    With the following links underneath you could download the Glowstone Lanterns plugin. With the first two links you could directly download the plugin. With the third link you'll go to the official download page where you could find all the download links and all the other versions of the plugin.
    Glowstone Lanterns 0.6 (hosted on dropbox.com)
    Glowstone Lanterns 0.6 (hosted on mediafire.com)
    All downloads and older versions (official download-page on timvisee.com)

    Installation:
    1. Download the plugin
    2. Add the GlowstoneLanterns.jar file and the folder 'Glowstone Lanterns' from the downloaded .zip file to the /plugin folder of the minecraft server. Also add the included folder 'Glowstone Lanterns' to your plugins folder.
    3. Add the permissions if you have; (Look at the permissions paragraph underneeth)
    4. Start your game and use Glowstone Lanterns!

    Permissions:
    Allow users to place glowstone lanterns; glowstonelanterns.gl
    Allow users to destroy glowstone lanterns; glowstonelanterns.destroyLanterns
    Allow users to use the info command; glowstonelanterns.info
    Allow users to use the reloadcommand; glowstonelanterns.reload
    Allow users to use the save command; glowstonelanterns.save

    Bugs
    There are NO bugs found :D

    Changelog:
    Changelog (open)

    Version 0.6 (14-10-2012)
    • Delayed lantern changes
    • Auto generating config files
    • Updated bukkit api
    • Improved the permissions manager
    • Added PermissionsEx support
    • Added Essentials Group Manager support
    • Updated Default Permissions support
    • the pagages are now renamed to com.timvisee... (instead of me.timvisee...)
    Version 0.5
    • Rewrote whole plugin, plugin is a lot faster
    • Added new bukkit event system
    • New file save/load system, made it faster
    • Glowstone Lanterns wouldn't crash the server anymore!
    • Whole new prebuilt lanterns system which works A LOT better
    • Possibility to make ANY costum lantern!
    • Some prebuilt lanterns are added and removed
    • Added new config features
    • Added a help command to see all the commands (/gl help)
    • Added a reload command to reload the lanterns list (/gl reload)
    • Added a reload command permission node (glowstonelanterns.reload)
    • Changed version command result (/gl version)
    • Changed some chat messages
    • Better user interface in the chat
    • There are some other bugs fixed
    Version 0.3
    • New 'Save' command to save the current lanterns list (/gl save), this command has a permission line (glowstonelanterns.save)
    • Better costum prebuilt lanterns support (command lines supoortend, same as YAML with a # on a line as the first character)
    • Bug fixes!
    • There's also added an config file
    • Function to turn lanterns on when it's raining
    Version 0.2
    • Added the external prebuilt lantern files, so you can make your own prebuilt lanterns and share them with other pelople. Of course you can download lanterns from other pelople (or from this forum topic) and use them in-game
    Version 0.1
    • Plugin release
    • Player commands
    • Permissions
    • Multi world support
    • Prebuilt lanterns

    How to make your own prebuilt lantern:
    How to make your own prebuilt lantern (open)

    What are prebuilt lanterns?
    Prebuilt lanterns are a really usefull feature in Glowstone Lanterns. You could place a prebuilt lantern by enableling the prebuilt lantern mode and then by placing a glass block or any other lantern block as your usually do with the normal lantern blocks. When you done that a lantern will spawn, for example when you place a glass block a lantern will spawn with a wooden base, a wooden fence pole and a glass/glowstone lantern on it. You could also spawn other prebuilt lanterns which could be used to hang on the ceiling for example. They are just really usefull because they will automaticly create a lantern. So the basic thing why there are prebuilt lanterns are is because you could easily create any lantern you want by only placing a glass block.

    The possibility of prebuilt lanterns
    You probably ask yourself what kind of prebuilt lanterns there are... There are a few build-in prebuilt lanterns, like 12 lanterns or so, which contains a lantern for the ceiling, a few lanterns to place on the ground, and even a fireplace lantern which turns on fire when its night. The possibilities are endless, you could easily create your own prebuilt lanterns and enlarge your lantern collection. You could also share your own prebuilt lanterns with other people so they could use your own created lantern.

    How do they work?
    Prebuilt lanterns are saved in seperated files (for each lantern a file) inside the 'Prebuilt Lanterns' folder inside the Glowstone Lanterns folder of your server. You could easily add another file to add other lanterns. The name of the file equals to the name of the lantern in-game

    How does the files work?
    Here I'm going to explain you how the prebuilt lantern files work so you could easily edit or make another lantern.
    In the lantern file there are different rows, every block of the lantern is on another row in the file. So if you have a lantern with contains 3 blocks your lantern file will probably have 3 rows.
    So the lanterns are saved in the file block by block. If the base block of your lantern is a wooden block you need to add a line that says that the bottom block is a wooden block, if your pole on top of it is a wooden fence you need to say that the block above that wooden block is a fence, and lastly if your lantern block above that pole is a glass block which turns into glowstone at night you need to add a line which says that that block is a lantern block which is glass when its day and glowstone when its night.
    Underneath here I'll explain how your really write this yourself.

    How to make your own prebuilt lantern file
    Here you could see an example of the lantern I was talking about, a wooden base block, a wooden pole and a lantern block on top of it.
    On every line is another block of the lantern defined, every line does look a little bit like this;
    With this example I'm going to explain how every line work.
    The first three zero's seperated with commas is the location of the current block, the first zero is the coordinate X, the seccond Y and the last Z. Those coordinates are relative, that means that 0,0,0 is the place where the player plased the glass block to place the prebuilt lantern. When you change the seccond zero to 1 that block will be above the glass block which you could set as a wooden fence block.
    The false text will tell the plugin if the current block is a lantern block, if this is set to false as shown in the example it is a regulair block, if it is set to true it's a lantern block which does mean that this block will be changed to another type of material when its going to be night.
    There are 6 more zero's behind the false text. The first and the seccond zero could be used to set the block type. So if you want to place a wooden block you need to set the first zero to 5 because the block ID of a wooden block is 5.
    If you want to make a lantern block which changed when its night you need to set true/false to true at first which indicates that that block will be a lantern block. Then you could set in the first two zero's what kind of block that lantern block will be when it's day, the third and fourth zero are the block ID and the data value of the block how it will ook like when it's night and the last two are used for the block when it's raining. With a normal block which isn't a lantern you need to set those last four zero's to 0 since they arent used because it isn't a lantern block. I hope I explaind this feature a little bit clear since it's hard to explain.
    So underneath here you'll find a little other example which shows you the thing I explained you again.
    I hope this will make it a bit more clear.
    You could also add a line with nothing on it, just a blank line to seperate two groups of blocks for example. (this doesn't affect the lantern result, its just to make it easier to read the file yourself).
    And as last thing you could also add a line which starts with the following character #, then you could type anything you want behind it. This could be used to make a comment inside the file, for example you could make a line which tells someone who looks in the file that the lantern has been made by you. Because this line will start with a # character the plugin will know that this is a comment line so it doesn't affect the lantern result. Underneath here you could also see another example.
    So here you could see you could use a line with a # character as a comment line and that you could plase a blank line anywhere in the file. As I already said a lantern which contains 3 blocks should have a file with three lines, but now you know if you place a comment or a blank line in the file the file will contain more lines.
    So one last thing, EVERY feature of the file is seperated in lines, blocks, comment lines and blank lines, you couldn't make two blocks on a single line.

    Create your first prebuilt lantern
    Now we are going to make your first prebuilt lantern. We will make a lantern which will look like this. A wooden base block, with a wooden fence pole on it. Then a lantern block on the pole which will be glass when it's day, glowstone when it's night and a jack'o'lantern when it's raining. And lastly a wooden slab on top of the lantern block. So this lantern will contain 4 blocks, three regulair blocks and 1 lantern block.
    Now open a simple text editor (notepad in windows, textedit on a mac) or any other program where you could type text in and start creating the file.
    On the first line you probably want a commant that the lantern has been made by you, for example a line like this
    Now make a blank line underneath this comment line. Then start making the blocks.
    The first block will be a wooden block (block ID = 5) on coordinate 0,0,0 since it should be on the place where the user placed the glass block, this isn't going to be a lantern block, just a regulair block so write a line like this;
    Then make the wooden pole on top of the base block (wooden fence ID = 85).
    Then make a lantern block which should be a glass block when its day, at night it should be a glowstone lantern and when it's raining a jack'o'lantern. The ID of a glass block is 20, a glowstone block 89 and a jack'o'lantern block 91. So write a line like this.
    and now the last block, the wooden slab on top of the lantern. The ID for this slab is 44 with a data value of 2, otherwise the slab will be a regulair stone slab. This is also an example for the data value usage. Now write that line like htis
    now the lantern is finished, and of course if you want to could also add some more blank lines and comment lines on the bottom, like a copyright line or something.
    Now how to save the file, open your window where you could save the file, in windows notepad you need to go to the file menu and then click Save As. Just navigate to your desktop or any other directory and name the file 'example.gllantern'. Make sure you give the file the file-extention '.gllantern' or else the plugin isn't able to open the lantern. Now just save it as 'example.gllantern' to any directory you want and close the text editor. Now navigate to the directory where you saved the file (probably your desktop as I suggested). There is your lantern file, now place that file you made in the 'Prebuilt Lanterns' folder inside the 'Glowstone Lanterns' folder inside your plugins folder of your plugin. When you done that you could start your server and start using your lantern. Please note that your lantern has been called 'example' since you saved the file with the name 'example.gllantern', if you save/rename the file to 'lantern.gllantern' the lantern will be called 'lantern'. Underneath here I will show you how to place the lantern you made.

    How to place/use your lantern?
    Now you probably made your lantern and placed it into the prebuilt lanterns directory of the plugin, if you haven't placed the lantern you want to use into that folder you aren't able to use the lantern.
    When you are in-game and when you've started your server you could use the command '/gl list lanterns' to list all the available lanterns, so the lantern you added which is probably called 'example' should be in this list too, if it is you added your lantern succesfully.
    Now use the command '/gl l <name-of-lantern>' to enable the prebuilt lantern mode with a prebuilt lantern selected. So if your lantern is called example you need to use this command '/gl l example' to enable prebuilt lanterns mode with the example lantern selected. When you have selected and enabled the prebuilt lantern mode a message should popup that you enabled this mode.
    Now select a glass block or any other block which could be used to place a lantern block or a prebuilt lantern (configurable in the config file) and place it on the ground, and your own lantern magically appears! (if your lantern doesn't appear and an error pop's up in the console you know something is wrong with your lantern file, please read this text again and try it again). Now you could easily place your own lantern anywhere you want.

    I hope you understand how everything works know, if you know how it works it;s one of the easiest things to do!
    If you still don't know how to use this, please contact me on the Glowstone Lanterns bukkit.org forum page or anywhere else so I could answer your question.
    Please also take a look at the build-in prebuilt lanterns because they could help you a lot!

    Suggestions, Ideas and bugs
    If you have a suggestion or an idea, please tell me and maybe I will add it to the plugin!
    If you found any bug please tell me I will fix it as fast as I can.


    Donate
    Please donate some money so I can buy some coffee to make better plugins, I really like it if you give a donation!
    [​IMG]
     

    Attached Files:

  2. Offline

    kalez

    you could add an additional command like /gl for day/night lanterns, and maybe something like /grl (glowstone redstone lantern) for making redstone controlled ones.
     
    Tim Visee likes this.
  3. Offline

    Tim Visee

    Yes, something like that would be great :)
     
  4. Offline

    IdealIdeas

    I am experiencing a problem with the lanterns.

    Could you please make a command that would refresh the lanterns as when I turn it from night or vice-versa sometimes some of the lanterns dont change.
     
  5. Offline

    Tim Visee

    Well, I'm going to re-write the whole plugin, I would like to add an command like this. btw the non-changlin lanterns are lanterns inside unloaded chunks or lanterns which doesn't load/change on the players client game.
     
  6. Offline

    paully104

    @Tim Visee , seems to working alright on 1.0.1 for me at least except for 1 error. When i do /gl save it spits out Error while saving glowstone lamps.
     
  7. Offline

    IdealIdeas

    Cool, any idea when the release time of that would be?
    it probably wont be an exact date but a general idea would be nice so I remember to check back.
     
  8. Offline

    TCLG6x6

    i cant save my laterns because the file was not found :O
     
  9. Offline

    Bluehog

    This works very well. And I like the effect and ease of use. Makes day/night lights so much easier.

    HOWEVER

    I can find 3 problems that I have to address.

    1 ) Permissions, the ability to place premade lanterns should be sepearte from the ability to place normal lanterns. This was admins have more control over who can do what.

    2 ) Laterns should not drop resources. It makes it very easy to obtain glowstone. Place glass for lantern at night it becomes glowstone, which can then be harvested.

    3 ) When part of a premade lantern is destroyed the whole thing should be destroyed. Once again this goes to making easy resources.


    While looking at it I would also suggest adding in the configuration file
    - Decide what block makes the "off" state (Some may want stone, obsidian, ect instead of glass)
    - Set an economy cost to making a lantern (with a permission node to override this)

    That said, this is still an awesome plugin. Thank you for making it.
     
  10. Offline

    DonProtz

    Hi Tim,

    like the idea of your plugin, great work. I get this error when typing gl in server console... And it doesnt worked when its raining. Using newest build 1.0.1-R1 ... Will do more testing


    18:50:42 [WARNUNG] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'gl' in plugin Glowstone Lanterns v0.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.en
    tity.Player
    at me.timvisee.GlowstoneLanterns.GlowstoneLanterns.onCommand(GlowstoneLanterns.java:394)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more
    >Don
     
  11. Offline

    Tim Visee

    Thanks

    Now the answers :p :
    1) Yes youre right, i didn't think about this
    2) I'm not sure if I'm going to implement this as a default feature, but what I can do is make an optional option inside a config file to enable or disable this, that would be great.
    3) I'm not sure if I could make something like this, this feature maybe is to big to add, I could try this but I'm sure it wouldn't be added in the next update.

    btw I'm also going to rewrite the whole plugin soon.

    Sorry, I already replied a while ago but it seems to be deleted or something D:

    btw, this is really strange, inside the config file you'll find a line where you could set the path of the save-file, just create a file with the same name and extention right there and it should be fixed

    Yeah you currently cant type anything like GL into the console because it isn't a valid command, what did you want to use it for, I maybe could add that feature!? btw, do you mean when it rains that the lanterns doesn't change, have you checked the config file, and set changeLanternOnRain to true or something?

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

    agubelu

    Got this spammy error :<

    Show Spoiler
    23:15:21 [SEVERE] Could not handle event BLOCK_PHYSICS:
    23:15:21 [SEVERE] java.lang.IllegalAccessError: Synchronized code got a
    ccessed from another thread: me.timvisee.GlowstoneLanterns.GlowstoneLan
    terns$3
    23:15:21 [SEVERE] at org.bukkit.event.block.BlockListener.onBlock
    Physics(BlockListener:0)
    23:15:21 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$30.e
    xecute(JavaPluginLoader.java:469)
    23:15:21 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEve
    nt(RegisteredListener.java:58)
    23:15:21 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEv
    ent(SimplePluginManager.java:339)
    23:15:21 [SEVERE] at net.minecraft.server.World.k(World.java:514)
    23:15:21 [SEVERE] at net.minecraft.server.World.applyPhysics(Worl
    d.java:501)
    23:15:21 [SEVERE] at net.minecraft.server.World.update(World.java
    :463)
    23:15:21 [SEVERE] at net.minecraft.server.World.setTypeId(World.j
    ava:435)
    23:15:21 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setT
    ypeId(CraftBlock.java:77)
    23:15:21 [SEVERE] at me.timvisee.GlowstoneLanterns.GlowstoneLante
    rns.timer(GlowstoneLanterns.java:316)
    23:15:21 [SEVERE] at me.timvisee.GlowstoneLanterns.GlowstoneLante
    rns$3.run(GlowstoneLanterns.java:75)
    23:15:21 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker
    .run(CraftWorker.java:34)
     
  13. Offline

    Don Redhorse

    that's from NoLagg... probably best talk to @bergerkiller about it
     
  14. Offline

    bergerkiller

    @Tim Visee yup, you need to change your async task so a sync task in onEnable. (one of those three tasks you start there)

    It's also possible that you need to change all of them to synchronized tasks. Important: YOU CAN NOT ACCESS BUKKIT METHODS FROM ANOTHER THREAD. achem.
     
  15. Offline

    Tim Visee

    Hmm, Don Redhorse replyed to you he said the following


    It's probably a problem that the plugin NoLagg or something causes because there isn't any event inside Glowstone Lanterns for "Block_PHYSICS".

    I'm not sure if its NoLagg but is isn't Glowstone Lanterns itself

    k, I'll take a look at this (btw I don't know why I need to change this, what are the difference between async and sync? And yes I currently use async

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

    Don Redhorse

    well... it is a personal battle of @bergerkiller against chunk corruption and other bad forces... I think he has a thread also about this somewhere... and he can explain it a lot better than I
     
    Tim Visee likes this.
  17. Offline

    ZNickq

    async is done in another thread, it can boost performance, but only if you're doing math and stuff, and you can't access/modify blocks, etc., or it will create huge problems (yes, including map corruption)
     
  18. Offline

    Tim Visee

    k, thanks for nothing this!

    Oke, I'll check this, because I'm also using async inside other projects ;)

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

    bergerkiller

    @Tim Visee A lot of Bukkit's coding is synchronized, and changing block types isn't too bad (it only changes a value in an array of bytes, nothing can go wrong there)
    The main issue lies with things that happen afterwards: physics and the events that follow these physics.
    For example:
    You change a block from another thread, spark an update for that block and this causes redstone to update. This causes the 'scheduled tick tasks' list to be modified from another thread, which in turn crashes the server.
    The same applies for events: every plugin that hooks into them and uses 'synchronized' (all managed from one thread) variables, your plugin will mess things up.

    On the NoLagg dev bukkit page there's a page explaining it some more (dumbed down)
     
  20. Offline

    DexterGoesViral

    Hello there. Recently i have installed this plugin on my server with 2400MB of ram, with essentials, worldedit, world gaurd, and ultimate areana, and it seems to crash the server when they are supposed to change material. Is there a way to use this plugin without crashing the server? P.S. My server is ran by servercraft.
     
  21. Offline

    Tim Visee

    Thanks!

    Hmm I only heard about this problem 1 time before and I don't know what happend, it took me 5 months and I still don't know what happend. So I'm going to rewrite the whole plugin soon because if this reason (and some other). For now I (sadly) suggest to remove the plugin from your server for a while :(

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

    Magnavoid

    Im getting errors like this repeatedly in console.

    Code:
    14:46:57 [WARNING] Could not properly handle event BLOCK_PHYSICS:
    java.lang.IllegalAccessError: Synchronized code got accessed from another thread: me.timvisee.GlowstoneLanterns.GlowstoneLanterns$3
            at org.bukkit.event.block.BlockListener.onBlockPhysics(BlockListener:0)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:469)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.World.k(World.java:514)
            at net.minecraft.server.World.applyPhysics(World.java:502)
            at net.minecraft.server.World.update(World.java:463)
            at net.minecraft.server.World.setTypeId(World.java:435)
            at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:77)
            at me.timvisee.GlowstoneLanterns.GlowstoneLanterns.timer(GlowstoneLanterns.java:316)
            at me.timvisee.GlowstoneLanterns.GlowstoneLanterns$3.run(GlowstoneLanterns.java:75)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    14:46:57 [INFO] This error is logged only once: it could have occured multiple times by now.
    14:46:57 [INFO] Please contact one of the authors of 'Glowstone Lanterns':
    14:46:57 [WARNING] Could not properly handle event BLOCK_PHYSICS:
    java.lang.IllegalAccessError: Synchronized code got accessed from another thread: me.timvisee.GlowstoneLanterns.GlowstoneLanterns$3
            at org.bukkit.event.block.BlockListener.onBlockPhysics(BlockListener:0)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:469)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.World.k(World.java:514)
            at net.minecraft.server.World.applyPhysics(World.java:498)
            at net.minecraft.server.World.update(World.java:463)
            at net.minecraft.server.World.setTypeId(World.java:435)
            at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:77)
            at me.timvisee.GlowstoneLanterns.GlowstoneLanterns.timer(GlowstoneLanterns.java:316)
            at me.timvisee.GlowstoneLanterns.GlowstoneLanterns$3.run(GlowstoneLanterns.java:75)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    14:46:57 [INFO] This error is logged only once: it could have occured multiple times by now.
    14:46:57 [INFO] Please contact one of the authors of 'Glowstone Lanterns':
    14:46:57 [WARNING] Could not properly handle event BLOCK_PHYSICS:
    java.lang.IllegalAccessError: Synchronized code got accessed from another thread: me.timvisee.GlowstoneLanterns.GlowstoneLanterns$3
            at org.bukkit.event.block.BlockListener.onBlockPhysics(BlockListener:0)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:469)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.World.k(World.java:514)
            at net.minecraft.server.World.applyPhysics(World.java:499)
            at net.minecraft.server.World.update(World.java:463)
            at net.minecraft.server.World.setTypeId(World.java:435)
            at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:77)
            at me.timvisee.GlowstoneLanterns.GlowstoneLanterns.timer(GlowstoneLanterns.java:316)
            at me.timvisee.GlowstoneLanterns.GlowstoneLanterns$3.run(GlowstoneLanterns.java:75)
            at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    14:46:57 [INFO] This error is logged only once: it could have occured multiple times by now.
    14:46:57 [INFO] Please contact one of the authors of 'Glowstone Lanterns':

    Thanks for the awesome plugin.
     
  23. Offline

    Tim Visee

    Well, this is another plugin which causes this problem, I'm currently not sure why this happend and what it does, I don't even know the plugin which causes this problem. Sorry for this
     
  24. Offline

    kerelious

    Hey, I've been using your plugin for months now, and I really enjoy it!! Tonight I added NoLagg and now I'm getting an error, the one in the post before this one. I am Positive that it is a problem between Glowstone and NoLagg. I have posted this error on NoLagg's dev page and now am posting here, I will not post the error since it has been posted before. I'm just assuring you that it is a issue between Glowstone Lanterns and NoLagg. I hope this gets fixed because I love your plugin, but I would like to have a plugin that helps with lag and such on my server. Thanks again.
     
  25. Offline

    jotebu

    Hi there,

    we use your plugin and it helps alot to finish up lantern on all street. We have one problem either:

    Everybody can destroy the lanterns without having the permission set for this!
    But is says: "[Glowstone Lanterns] You don't have permission to destroy lanterns]

    We use Craftbukkit 1.0.1-R1
    Protection Plugins we use: -WorldGuard and -LWC

    Thanks for that great plugin!

    best regards
    Jotebu
     
  26. Offline

    Tim Visee

    Yeah I really understand, I'll check if it really isn't a bug inside my plugin, I'm also going to rewrite the plugin soon (I don't have that much of time) and I'll check this by downloading NoLagg to my local test server. Btw I'm sure it isn't a problem with Glowstone Lanterns because it gives an error inside the event BLOCK_PHYSICS and glowstone lanterns doesn't have this event enabled.

    Which permissions system are you using? That will help me a lot!It coult be an problem with a new craft bukkit build, I'll check that

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

    jotebu

    We use PermissionBukkit 1.2 and Permissions 2.7.7.
    Thanks for checking that.
     
  28. Offline

    WindedDragon

    Could you maybe make it so you can turn on or off all the information that you see in the console?
     
  29. Offline

    Tim Visee

    yep sure, I'm going to rewrite the whole plugin soon btw but I'm really busy :(
     
  30. Offline

    DonProtz

    Thx for your reply ^^
    Sorry Tim for wasting your time, I should looked up first the config, than write here.
    Iam now using two plugins from you (safeCrepper), keep it up!
     
    Tim Visee likes this.
  31. Offline

    Tim Visee

    Thanks! Btw I didn't know anymore if I released the small patch where you could turn those messages off, but yes I do :)

    EDIT: Srry wrong reply :p (I thought this was another message! :p) But thanks!
     

Share This Page