RebzO1 This should solve your problem once and for all: https://forums.bukkit.org/threads/change-the-direction-of-a-sign.31582/
RebzO1 Please provide your new code. EDIT: Could you please post only the relevant parts this time please?
RebzO1 Could you please provide your current code? I'll give you an example with it. :D P.S. And no, it's not that you're bad at explaining - I'm...
RebzO1 Well, you define the block (chest) and the blockstate at the start, then modify it. I'm not really sure what you're trying to ask here:
Stoux Thanks, I'll try that. ;) Jalau That's breaking the whole purpose of this. :(
RebzO1 Judging from what I briefly read, I think you can use the following code to do what you're aiming to do: Block block = etc. BlockState...
RebzO1 Have a look at these: http://jd.bukkit.org/rb/apidocs/org/bukkit/block/BlockState.html...
RebzO1 He means to create a BlockState that affects the chest and edit its direction using the setDirection() method.
Firebomb24 Try not to double post please. ;)
mazentheamazin CubieX Stoux xTigerRebornx Garris0n Nevermind guys, well, when I tested the code, I get a NullPointerError: [19:29:14] [Server...
CubieX Sorry for not being specific enough. The userdata is simply a YAMLcreated for each player. Also, I'll post the 'method' as soon as I have...
Stoux That won't work in my case unfortunately. mazentheamazin That's the whole problem here I believe. :(
xTigerRebornx I have my own separate method that requires a Player variable. :(
xTigerRebornx Called examples. :D
Garris0n I need to do other things such as sending messages too though. :(
Garris0n Well, that caused some errors. :( Any ways to fix this?
Garris0n I need the code to execute even if the player if offline by altering their userdata (playerName.yml). How will I go about doing this?
Garris0n Did that, still the same error as I've mentioned in the third edit of my reply before this. :(
Garris0n Why is it a null? EDIT: Also, there is no getPlayerExact method for this. :( EDIT: Do we just place in a hasPlayedBefore & null check to...
Garris0n My bad, I forgot. Here's the error: [12:06:54] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception...
Separate names with a comma.