Jump to content

[1.4.5/6/7] keepcalm's mods - Events API, BukkitForge - Interdim TPs, Lockette!


keepcalm

Recommended Posts

Happy new year!

 

We have a new jenkins (it might not crash as much :D)

http://build.technicpack.net:8080/job/BukkitForge

 

Unfortunately, PEX doesn't work anymore, and likely will not work for a while.

 

*Every* other perms plugin works, so just switch to one of those. Easy switch to gm: Dump your pex permissions.yml into this website, and change 'world' => overworld, 'world_the_nether' => the_nether and 'world_the_end' => the_end. A ModifyWorld version can be found here, and a list of reasons as to *why* we stopped are here. If you wish to interrogate us further, ask us on irc.esper.net, #bukkitforge.

 

1.4.6 mods work on 1.4.7 (and vice versa)

 

Thanks to Manawyrm and Toble_Miner for helping with WorldEdit!

(they gave up an entire night while we hacked away finding really stupid bugs in my code ;))

 

I've been modding for a little bit, and I finally decided to start releasing mods.

I'm mostly planning to port Bukkit plugins to forge, but I will do the inverse of what ForgeEssentials are doing - I am going to make a coremod which loads bukkit plugins the way CraftBukkit does. Admittedly, this isn't the *optimal* approach, but it will work, and once it's stable, will require a lot less work than FE will.

If you have plugins that misbehave with BukkitForge, tell me, and I'll fix it if I can!

 

Note that the term 'less crashing' does not imply complete and utter removal of bugs. They're still there, and being evil, and breaking things. And I intend to squash every last one of them. But it's still buggy, just not crashy :P - if you can fix the bug yourself, feel free to submit a PR!

 

Find me on IRC

You can find me on irc, #bukkitforge (yes I made a channel :P), during daylight hours, GMT +11

 

Found a bug?

First, make sure you've read the EAQ, and make sure it's a bug in one of MY mods. If the error doesn't contain 'keepcalm', then I can't help you.

If it IS a bug in one of my mods, post the log below, and remember that spoilers are your friend ;)

 

BukkitForge Open Beta - now with PermissionsEx and loads of other stuff!

 

 

This is a WIP mod which I've been working on for a while, you can feel free to submit any big fixes as PRs (if you don't know what that means, don't worry about it).

 

If you find a bug, TELL ME ON GITHUB! I'm squashing as many bugs as I can find as quickly as I can (courtesy of the holidays), so if you submit it, I'll fix it.

 

Thanks to SpoonsJTD for helping with the issues (it was getting daunting to look at ;))

 

(Slightly outdated) mod spotlight by Nintendofreaker:

here - someone tell me how to put videos into forum posts ;).

It was done on build 89, a few things have changed since then - download plugins from the link up the top (the one for PEX).

 

Note that not all functionality has been tested, and I take ZERO responsibility for anything not working. But I will say sorry. And try and fix it :P

 

Downloads

All plugin downloads can be found at github, including the Essentials port (look in the plugins folder). After choosing a file, click the 'view raw' button to download it!

 

Thanks to vidplace7, we now have Jenkins!

It is configured to build whenever there's a push to github, so the download there will always be the latest version! Vidplace7 is an awesome guy, I have no clue what he does, but he saw me on IRC and was like 'hey, do you want jenkins'?.

 

Installation

You need a version of Minecraft Forge for the version of minecraft you are running.

Download the BukkitForge jar from the link above and place it in coremods

Clients are NOT required to have BukkitForge installed when connecting to a server.

Insert plugins into .minecraft/plugins or <server folder>/plugins, etc.

Run the game!

 

 

For plugins which log/use block breaks

If you download my Block Break API (also a coremod), you will be able to use plugins which use block breaks

UPDATE - as of build 18, BlockBreak should be included INSIDE the BukkitForge jar!

 

AHH! My server crashes when I do xxx/with plugin xxx/this plugin doesn't work properly

Post a new github issue here, and includes what you did/which plugin you added. And the logs. Also make sure to read this issue before posting, your bug might already be known!

 

 

 

 

Events API

 

 

This is a coremod which adds various Bukkit-like events to forge.

 

It comes with BukkitForge, so you do not need to install it!

 

This has superseded my Block Break API.

 

A list of events implemented at the moment can be found here

 

Downloads

For users

Download from here, install in Coremods

 

For modders

Code can be found here.

 

Copy the folder in src/ to mcp/minecraft/src, and place the BlockBreakNin.jar in mcp/jars/coremods. Code as normal, inserting my events

alongside any normal forge events.

 

 

 

ForgeCore BETA!

 

 

This is a mod which implements a basic permissions API, and exposes functionality of the snakeyaml library for modders to use.

It also adds a /mods command (think Bukkit's /plugins).

 

Download

 

 

ForgeCore 1.4.5-0 (coremod): Download!

 

Source code: Github!

 

 

 

 

 

ForgeCommands BETA!

 

 

Adds commands which are useful from bukkit, such as /vanish, /god and /speed. I haven't tested them all, so this is

in beta.

 

Known issues

 

 

- When you walk around near a vanished player, they'll flicker - it's an issue with the way that TickHandlers work, I'm looking into it.

 

 

 

Download

ForgeCommands 1.4.5 BETA: Download!

Source code: Github!

 

 

 

ForgeChat

 

 

Inspired by Shortify. But I improved the idea - multiple urls in one line, shortened using tinyurl.

 

Shortens URLs using TinyURL (configurable - default ON)

 

Also makes &<letter>s chat colours - see http://ess.khhq.net/mc/ for a list of OK letters (configurable - default OFF)

 

Also includes a /mute command

 

Only required on the server.

 

Download

Version 1.4.5-0: Download!

Version 1.4.2-1 (requires forge 6.0.1.343 or later):

Download from github

Version 1.4.2-0 (requires forge 6.0.1.343 or later): Download from github

 

Source code: (if you want to learn from my mods, or improve them): Source on github

 

Changelog

 

 

1.4.5-0

- Depends on ForgeCore

- Added /mute

1.4.2-1

- Added support for Chat Colours - if you type '&<letter>' it will make it a chat colour.

List of chat colours can be found here

 

 

 

 

 

Licensing

All my mods are licensed under the LGPLv2+.

 

Keeping up with what I'm doing

If you want to see what I'm working on/have worked on, you might want to check out my github repos

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

  • Replies 223
  • Created
  • Last Reply

Top Posters In This Topic

Spout is a definite no-no, it's complicated, and all of it's features are implemented by forge in some way.

Spout plugins I can port (they won't be compatible with their Bukkit versions), but not the Spout API itself.

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

  • 3 weeks later...

It doesn't output everything into the server log, but you could create a mod that does that.

 

Here's an example of a mod: https://github.com/keepcalm/BlockBreakSample

 

You could create a coremod that would download the MySQL java interface, PM me if you want a tutorial.

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

You can check on WebSend, A very very interesting mod for me.

It allow you to make some external script with php... Very usefull for me because I don't know java :)

 

And perhaps something like monster apocalypse.

 

At least 2 fonctions :

- the mob can "see" the player from far away, and try to attack

- the zombie can destroy some block (config file for this).

 

With this you absolutly need to build walls around your base or you will be soon invaded by monster :)

Link to comment
Share on other sites

I am not sure if this is just user error or what but every time that i try to install ForgeCore I get this error:

 

 

Description: Exception in server tick loop

 

cpw.mods.fml.common.LoaderException: ya: ForgeCore is a coremod!

at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:655)

at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:90)

at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:348)

at ho.c(DedicatedServer.java:120)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)

at fy.run(SourceFile:856)

Caused by: ya: ForgeCore is a coremod!

at keepcalm.mods.forgecore.ForgeCoreModContainer.postInit(ForgeCoreModContainer.java:54)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:440)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:654)

... 5 more

 

Link to comment
Share on other sites

Block Break Event

Would this work to notify my mod that a block is broken by a creeper or IC2 mining laser?

 

Does your code need to run on the client side as well, because I'm making a server side only mod?

 

I tried to use this in my mod for Chunk Protection, but it doesn't seem to work.

 

I tried placing your source code "keepcalm\mods\blockbreak" in "src\common" or "src\minecraft"

 

There are no error messages.

This was the first time I tried to use outside code with my own mod, so I may be missing something.

 

public class ProtectEventHookContainer
{
@ForgeSubscribe
public void blockBreak(BlockBreakEvent event)
{
	event.player.sendChatToPlayer("Block Event Test");
}
}

And in the main mod:

	@Init
public void init(FMLInitializationEvent event)
{
	MinecraftForge.EVENT_BUS.register(new ProtectEventHookContainer());
}

 

There are other event handling methods in that EventContainer that do work.

Link to comment
Share on other sites

i can't say thank you enough for getting this to work. The main plugin i'd like to see (besides worldedit) is multiverse. our main server has always been bukkit, until we discovered some of the forge mods in the last couple of months. those two are going to be the ones that finally get us to switch completely to forge.

 

btw, i just submitted a new bug... looking forward to a new build with all the recent stuff fixed. have been running into the 'ticking entity' with 'inWall' a lot also, until i turned off all creatures for testing purposes.

 

Link to comment
Share on other sites

Block Break Event

Would this work to notify my mod that a block is broken by a creeper or IC2 mining laser?

 

Does your code need to run on the client side as well, because I'm making a server side only mod?

 

I tried to use this in my mod for Chunk Protection, but it doesn't seem to work.

 

I tried placing your source code "keepcalm\mods\blockbreak" in "src\common" or "src\minecraft"

 

There are no error messages.

This was the first time I tried to use outside code with my own mod, so I may be missing something.

 

--snip--

 

Should probably add this to the OP, but for now:

 

In eclipse, click on the arrow next to the 'run' button, click on 'run configurations', and then select which setup you're using to test (Server or Client). Choose the second tab from the left, and in 'java arguments' add this:

 

-Dfml.coreMods.load=keepcalm.mods.blockbreak.asm.BlockBreakLoadingPlugin

 

And about the sided-ness, I think it's server-side, it adds the call to ItemInWorldManager.

 

And, @blindahl, can I suggest using mystcraft? Since you're moving to forge anyway? But I'll see how MV works with Bukkit4Vanilla, I need to test the world code ;)

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

API doesn't mean 'big-and-clunky-pile-of-code' - it's an Application Programming Interface (or something), the code is mostly just forge wrapper code.

 

Also, the point is to use Forge's event system, which allows for less hassle, and less messing with code.

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

I am not sure if this is just user error or what but every time that i try to install ForgeCore I get this error:

 

 

Description: Exception in server tick loop

 

cpw.mods.fml.common.LoaderException: ya: ForgeCore is a coremod!

at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:655)

at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:90)

at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:348)

at ho.c(DedicatedServer.java:120)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:461)

at fy.run(SourceFile:856)

Caused by: ya: ForgeCore is a coremod!

at keepcalm.mods.forgecore.ForgeCoreModContainer.postInit(ForgeCoreModContainer.java:54)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:440)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:654)

... 5 more

 

 

I got the same error. No matter which directory I put it in the same error occurs again and again.

Link to comment
Share on other sites

I can load the game, execute commands with essentials in game, but the moment i place any block this happens and the game crashes.

 

2012-12-13 01:39:47 [iNFO] [sTDERR] java.lang.NoSuchMethodError: iq.h(F)Laob;

2012-12-13 01:39:47 [iNFO] [sTDERR]    at keepcalm.mods.bukkit.forgeHandler.Pla

yerUtilities.getTargetBlock(PlayerUtilities.java:17)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at keepcalm.mods.bukkit.forgeHandler.For

geEventHandler.playerSaysHai(ForgeEventHandler.java:220)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHand

ler_98_ForgeEventHandler_playerSaysHai_PlayerInteractEvent.invoke(.dynamic)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHand

ler.invoke(ASMEventHandler.java:35)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.EventBus.pos

t(EventBus.java:103)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ForgeEventFa

ctory.onPlayerInteract(ForgeEventFactory.java:25)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at ir.a(ItemInWorldManager.java:378)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at iv.a(NetServerHandler.java:564)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at fl.a(SourceFile:58)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at cg.b(TcpConnection.java:451)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at iv.d(NetServerHandler.java:87)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at iw.b(NetworkListenThread.java:55)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at ht.b(SourceFile:30)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

r(MinecraftServer.java:696)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at ho.r(DedicatedServer.java:252)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

q(MinecraftServer.java:592)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

run(MinecraftServer.java:499)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at fy.run(SourceFile:856)

2012-12-13 01:39:47 [sEVERE] [Minecraft] Encountered an unexpected exception NoS

uchMethodError

java.lang.NoSuchMethodError: iq.h(F)Laob;

        at keepcalm.mods.bukkit.forgeHandler.PlayerUtilities.getTargetBlock(Play

erUtilities.java:17)

        at keepcalm.mods.bukkit.forgeHandler.ForgeEventHandler.playerSaysHai(For

geEventHandler.java:220)

        at net.minecraftforge.event.ASMEventHandler_98_ForgeEventHandler_playerS

aysHai_PlayerInteractEvent.invoke(.dynamic)

        at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:

35)

        at net.minecraftforge.event.EventBus.post(EventBus.java:103)

        at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEven

tFactory.java:25)

        at ir.a(ItemInWorldManager.java:378)

        at iv.a(NetServerHandler.java:564)

        at fl.a(SourceFile:58)

        at cg.b(TcpConnection.java:451)

        at iv.d(NetServerHandler.java:87)

        at iw.b(NetworkListenThread.java:55)

        at ht.b(SourceFile:30)

        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:696)

        at ho.r(DedicatedServer.java:252)

        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:592)

        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:499)

        at fy.run(SourceFile:856)

Link to comment
Share on other sites

I can load the game, execute commands with essentials in game, but the moment i place any block this happens and the game crashes.

 

2012-12-13 01:39:47 [iNFO] [sTDERR] java.lang.NoSuchMethodError: iq.h(F)Laob;

2012-12-13 01:39:47 [iNFO] [sTDERR]    at keepcalm.mods.bukkit.forgeHandler.Pla

yerUtilities.getTargetBlock(PlayerUtilities.java:17)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at keepcalm.mods.bukkit.forgeHandler.For

geEventHandler.playerSaysHai(ForgeEventHandler.java:220)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHand

ler_98_ForgeEventHandler_playerSaysHai_PlayerInteractEvent.invoke(.dynamic)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHand

ler.invoke(ASMEventHandler.java:35)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.EventBus.pos

t(EventBus.java:103)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraftforge.event.ForgeEventFa

ctory.onPlayerInteract(ForgeEventFactory.java:25)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at ir.a(ItemInWorldManager.java:378)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at iv.a(NetServerHandler.java:564)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at fl.a(SourceFile:58)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at cg.b(TcpConnection.java:451)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at iv.d(NetServerHandler.java:87)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at iw.b(NetworkListenThread.java:55)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at ht.b(SourceFile:30)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

r(MinecraftServer.java:696)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at ho.r(DedicatedServer.java:252)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

q(MinecraftServer.java:592)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.

run(MinecraftServer.java:499)

2012-12-13 01:39:47 [iNFO] [sTDERR]    at fy.run(SourceFile:856)

2012-12-13 01:39:47 [sEVERE] [Minecraft] Encountered an unexpected exception NoS

uchMethodError

java.lang.NoSuchMethodError: iq.h(F)Laob;

        at keepcalm.mods.bukkit.forgeHandler.PlayerUtilities.getTargetBlock(Play

erUtilities.java:17)

        at keepcalm.mods.bukkit.forgeHandler.ForgeEventHandler.playerSaysHai(For

geEventHandler.java:220)

        at net.minecraftforge.event.ASMEventHandler_98_ForgeEventHandler_playerS

aysHai_PlayerInteractEvent.invoke(.dynamic)

        at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:

35)

        at net.minecraftforge.event.EventBus.post(EventBus.java:103)

        at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEven

tFactory.java:25)

        at ir.a(ItemInWorldManager.java:378)

        at iv.a(NetServerHandler.java:564)

        at fl.a(SourceFile:58)

        at cg.b(TcpConnection.java:451)

        at iv.d(NetServerHandler.java:87)

        at iw.b(NetworkListenThread.java:55)

        at ht.b(SourceFile:30)

        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:696)

        at ho.r(DedicatedServer.java:252)

        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:592)

        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:499)

        at fy.run(SourceFile:856)

But, as it happens, you can't read. It's a known bug, use the issues tracker on github next time!

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

 

 

Bukkit4Vanilla (soon to be known as BukkitForge) Open Beta - now v2 for 1.4.5!

 

 

 

The Essentials port is misbehaving with GroupManager, the way to fix it is to add your player into GroupManager's configuration (or, maybe, not use GroupManager)

 

And /afk in Essentials is also broken. It will disconnect your client, I'm trying to fix it

 

It is for minecraft 1.4.5, and appears to start up OK. While most plugins will not require porting, plugins which use guava 10 (like essentials) will need porting. Note that I HAVE ported Essentials. So you can be happy ;)

 

Unfortunately, Bukkit4Vanilla is presently for dedicated servers only, but I am working on fixing this

 

Note that not all functionality has been tested, and I take ZERO responsibility for anything not working. But I will say sorry. And try and fix it :P

 

Downloads

All downloads can be found at github, including the Essentials port. BukkitForge is a COREmod!

 

For plugins which log/use block breaks

If you download my Block Break API (also a coremod), you will be able to use plugins which use block breaks

 

AHH! My server crashes when I do xxx/with plugin xxx/this plugin doesn't work properly

Post a new github issue here, and includes what you did/which plugin you added. And the logs.

 

 

 

 

 

ForgeCore BETA!

 

 

This is a mod which implements a basic permissions API, and exposes functionality of the snakeyaml library for modders to use.

It also adds a /mods command (thing Bukkit's /plugins).

 

Download

 

 

ForgeCore 1.4.5-0 (coremod): Download!

 

Source code: Github!

 

 

 

 

 

ForgeCommands BETA!

 

 

Adds commands which are useful from bukkit, such as /vanish, /god and /speed. I haven't tested them all, so this is

in beta.

 

Known issues

 

 

- When you walk around near a vanished player, they'll flicker - it's an issue with the way that TickHandlers work, I'm looking into it.

 

 

 

Download

ForgeCommands 1.4.5 BETA: Download!

Source code: Github!

 

 

 

ForgeChat

 

 

Inspired by Shortify. But I improved the idea - multiple urls in one line, shortened using tinyurl.

 

Shortens URLs using TinyURL (configurable - default ON)

 

Also makes &<letter>s chat colours - see http://ess.khhq.net/mc/ for a list of OK letters (configurable - default OFF)

 

Also includes a /mute command

 

Only required on the server.

 

Download

Version 1.4.5-0: Download!

Version 1.4.2-1 (requires forge 6.0.1.343 or later):

Download from github

Version 1.4.2-0 (requires forge 6.0.1.343 or later): Download from github

 

Source code: (if you want to learn from my mods, or improve them): Source on github

 

Changelog

 

 

1.4.5-0

- Depends on ForgeCore

- Added /mute

1.4.2-1

- Added support for Chat Colours - if you type '&<letter>' it will make it a chat colour.

List of chat colours can be found here

 

 

 

 

 

 

Block Break Event

 

 

This mod adds a block break event function.

 

Thanks to bspkrs (author of treecapitator) for the transformer code.

 

For modders

 

 

If you wish to use this mod in your mod, grab the source code from here,

and copy the src/keepcalm folder into your minecraft folder. You simply add an event handler as you would a forge handler, as follows:

@ForgeSubscribe
public void onBlockBreak(BlockBreakEvent ev) {
  // your code here
}

(An example of a simple block break logging mod can be found here: https://github.com/keepcalm/BlockBreakSample)

That's all you need to worry about! The rest is done for you.

 

 

 

Downloads

Version 1.4.5-0: Download for Minecraft 1.4.4 or 1.4.5, and MinecraftForge.

Source code: github

 

 

Licensing

All my mods are licensed under the LGPLv2+.

 

Keeping up with what I'm doing

If you want to see what I'm working on/have worked on, you might want to check out my github repos

 

Would you mind maybe giving a quick how to structure all this together say if someone wanted to use this for there server? i have been soooo looking to use something like this setup but just not understanding what and where to start 1st.. does this (bukkit4vanilla.jar file go into the minecraft_server.jar , does it replace it? does forge get added to the minecraft_server.jar or the bukkit4vanilla, is it in it? i tried a minecaraft_server.jar with the latest forge and placed the  ForgeCore into the coremod folder and got crash "coremod is a coremod!" same as other person in this forum posting. a little more explaination as to what goes where etc would be great if you wouldnt mind.. i'm not a complete idiot as i have run several servers vanilla, tekkit, forge modded... just not understanding where your files go

 

Thanks :)

Link to comment
Share on other sites

I'm fairly certain I made it clear. If it says coremod, put it in coremods. If it doesn't, put it in mods. NO jarmods here!

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements




  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • This honestly might just work for you @SubscribeEvent public static void onScreenRender(ScreenEvent.Render.Post event) { final var player = Minecraft.getInstance().player; if(!hasMyEffect(player)) return; // TODO: You provide hasMyEffect float f = Mth.lerp(p_109094_, this.minecraft.player.oSpinningEffectIntensity, this.minecraft.player.spinningEffectIntensity); float f1 = ((Double)this.minecraft.options.screenEffectScale().get()).floatValue(); if(f <= 0F || f1 >= 1F) return; float p_282656_ = ?; final var p_282460_ = event.getGuiGraphics(); int i = p_282460_.guiWidth(); int j = p_282460_.guiHeight(); p_282460_.pose().pushPose(); float f = Mth.lerp(p_282656_, 2.0F, 1.0F); p_282460_.pose().translate((float)i / 2.0F, (float)j / 2.0F, 0.0F); p_282460_.pose().scale(f, f, f); p_282460_.pose().translate((float)(-i) / 2.0F, (float)(-j) / 2.0F, 0.0F); float f1 = 0.2F * p_282656_; float f2 = 0.4F * p_282656_; float f3 = 0.2F * p_282656_; RenderSystem.disableDepthTest(); RenderSystem.depthMask(false); RenderSystem.enableBlend(); RenderSystem.blendFuncSeparate(SourceFactor.ONE, DestFactor.ONE, SourceFactor.ONE, DestFactor.ONE); p_282460_.setColor(f1, f2, f3, 1.0F); p_282460_.blit(NAUSEA_LOCATION, 0, 0, -90, 0.0F, 0.0F, i, j, i, j); p_282460_.setColor(1.0F, 1.0F, 1.0F, 1.0F); RenderSystem.defaultBlendFunc(); RenderSystem.disableBlend(); RenderSystem.depthMask(true); RenderSystem.enableDepthTest(); p_282460_.pose().popPose(); }   Note: Most of this is directly copied from GameRenderer as you pointed out you found. The only thing you'll have to likely do is update the `oSpinningEffectIntensity` + `spinningEffectIntensity` variables on the player when your effect is applied. Which values should be there? Not 100% sure, might be a game of guess and check, but `handleNetherPortalClient` in LocalPlayer has some hard coded you might be able to start with.
    • Dalam dunia perjudian online yang berkembang pesat, mencari platform yang dapat memberikan kemenangan maksimal dan hasil terbaik adalah impian setiap penjudi. OLXTOTO, dengan bangga, mempersembahkan dirinya sebagai jawaban atas pencarian itu. Sebagai platform terbesar untuk kemenangan maksimal dan hasil optimal, OLXTOTO telah menciptakan gelombang besar di komunitas perjudian online. Satu dari banyak keunggulan yang dimiliki OLXTOTO adalah koleksi permainan yang luas dan beragam. Dari togel hingga slot online, dari live casino hingga permainan kartu klasik, OLXTOTO memiliki sesuatu untuk setiap pemain. Dibangun dengan teknologi terkini dan dikembangkan oleh para ahli industri, setiap permainan di platform ini dirancang untuk memberikan pengalaman yang tak tertandingi bagi para penjudi. Namun, keunggulan OLXTOTO tidak hanya terletak pada variasi permainan yang mereka tawarkan. Mereka juga menonjol karena komitmen mereka terhadap keamanan dan keadilan. Dengan sistem keamanan tingkat tinggi dan proses audit yang ketat, OLXTOTO memastikan bahwa setiap putaran permainan berjalan dengan adil dan transparan. Para pemain dapat merasa aman dan yakin bahwa pengalaman berjudi mereka di OLXTOTO tidak akan terganggu oleh masalah keamanan atau keadilan. Tak hanya itu, OLXTOTO juga terkenal karena layanan pelanggan yang luar biasa. Tim dukungan mereka selalu siap sedia untuk membantu para pemain dengan segala pertanyaan atau masalah yang mereka hadapi. Dengan respon cepat dan solusi yang efisien, OLXTOTO memastikan bahwa pengalaman berjudi para pemain tetap mulus dan menyenangkan. Dengan semua fitur dan keunggulan yang ditawarkannya, tidak mengherankan bahwa OLXTOTO telah menjadi pilihan utama bagi jutaan penjudi online di seluruh dunia. Jika Anda mencari platform yang dapat memberikan kemenangan maksimal dan hasil optimal, tidak perlu mencari lebih jauh dari OLXTOTO. Bergabunglah dengan OLXTOTO hari ini dan mulailah petualangan Anda menuju kemenangan besar dan hasil terbaik!
    • Selamat datang di OLXTOTO, situs slot gacor terpanas yang sedang booming di industri perjudian online. Jika Anda mencari pengalaman bermain yang luar biasa, maka OLXTOTO adalah tempat yang tepat untuk Anda. Dapatkan sensasi tidak biasa dengan variasi slot online terlengkap dan peluang memenangkan jackpot slot maxwin yang sering. Di sini, Anda akan merasakan keseruan yang luar biasa dalam bermain judi slot. DAFTAR OLXTOTO DISINI LOGIN OLXTOTO DISINI AKUN PRO OLXTOTO DISINI   Jackpot Slot Maxwin Sering Untuk Peluang Besar Di OLXTOTO, kami tidak hanya memberikan hadiah slot biasa, tapi juga memberikan kesempatan kepada pemain untuk memenangkan jackpot slot maxwin yang sering. Dengan demikian, Anda dapat meraih keberuntungan besar dan memenangkan ribuan rupiah sebagai hadiah jackpot slot maxwin kami. Jackpot slot maxwin merupakan peluang besar bagi para pemain judi slot untuk meraih keuntungan yang lebih besar. Dalam permainan kami, Anda tidak harus terpaku pada kemenangan biasa saja. Kami hadir dengan jackpot slot maxwin yang sering, sehingga Anda memiliki peluang yang lebih besar untuk meraih kemenangan besar dengan hadiah yang menggiurkan. Dalam permainan judi slot, pengalaman bermain bukan hanya tentang keseruan dan hiburan semata. Kami memahami bahwa para pemain juga menginginkan kesempatan untuk meraih keberuntungan besar. Oleh karena itu, OLXTOTO hadir dengan jackpot slot maxwin yang sering untuk memberikan peluang besar kepada para pemain kami. Peluang Besar Menang Jackpot Slot Maxwin Peluang menang jackpot slot maxwin di OLXTOTO sangatlah besar. Anda tidak perlu khawatir tentang batasan atau pembatasan dalam meraih jackpot tersebut. Kami ingin memberikan kesempatan kepada semua pemain kami untuk merasakan sensasi menang dalam jumlah yang luar biasa. Jackpot slot maxwin kami dibuka untuk semua pemain judi slot di OLXTOTO. Anda memiliki peluang yang sama dengan pemain lainnya untuk memenangkan hadiah jackpot yang besar. Kami percaya bahwa semua orang memiliki kesempatan untuk meraih keberuntungan besar, dan itulah mengapa kami menyediakan jackpot slot maxwin yang sering untuk memenuhi harapan dan keinginan Anda.   Kesimpulan OLXTOTO adalah situs slot gacor terbaik yang memberikan pengalaman bermain judi slot online yang tak terlupakan. Dengan variasi slot online terlengkap dan peluang memenangkan jackpot slot maxwin yang sering, OLXTOTO menjadi pilihan terbaik bagi para pemain yang mencari kesenangan dan kemenangan besar dalam perjudian online. Di samping itu, OLXTOTO juga menawarkan layanan pelanggan yang ramah dan responsif, siap membantu setiap pemain dalam mengatasi masalah teknis atau pertanyaan seputar perjudian online. Kami menjaga integritas game dan memberikan lingkungan bermain yang adil serta menjalankan kebijakan perlindungan pelanggan yang cermat. Bergabunglah dengan OLXTOTO sekarang dan nikmati pengalaman bermain slot online yang luar biasa. Jadilah bagian dari komunitas perjudian yang mengagumkan ini dan raih kesempatan untuk meraih kemenangan besar. Dapatkan akses mudah dan praktis ke situs OLXTOTO dan rasakan sensasi bermain judi slot yang tak terlupakan.  
    • OLXTOTO: Platform Maxwin dan Gacor Terbesar Sepanjang Masa Di dunia perjudian online yang begitu kompetitif, mencari platform yang dapat memberikan kemenangan maksimal (Maxwin) dan hasil terbaik (Gacor) adalah prioritas bagi para penjudi yang cerdas. Dalam upaya ini, OLXTOTO telah muncul sebagai pemain kunci yang mengubah lanskap perjudian online dengan menawarkan pengalaman tanpa tandingan.     Sejak diluncurkan, OLXTOTO telah menjadi sorotan industri perjudian online. Dikenal sebagai "Platform Maxwin dan Gacor Terbesar Sepanjang Masa", OLXTOTO telah menarik perhatian pemain dari seluruh dunia dengan reputasinya yang solid dan kinerja yang luar biasa. Salah satu fitur utama yang membedakan OLXTOTO dari pesaingnya adalah komitmen mereka untuk memberikan pengalaman berjudi yang unik dan memuaskan. Dengan koleksi game yang luas dan beragam, termasuk togel, slot online, live casino, dan banyak lagi, OLXTOTO menawarkan sesuatu untuk semua orang. Dibangun dengan teknologi terkini dan didukung oleh tim ahli yang berdedikasi, platform ini memastikan bahwa setiap pengalaman berjudi di OLXTOTO tidak hanya menghibur, tetapi juga menguntungkan. Namun, keunggulan OLXTOTO tidak hanya terletak pada permainan yang mereka tawarkan. Mereka juga terkenal karena keamanan dan keadilan yang mereka berikan kepada para pemain mereka. Dengan sistem keamanan tingkat tinggi dan audit rutin yang dilakukan oleh otoritas regulasi independen, para pemain dapat yakin bahwa setiap putaran permainan di OLXTOTO adalah adil dan transparan. Tidak hanya itu, OLXTOTO juga dikenal karena layanan pelanggan yang luar biasa. Dengan tim dukungan yang ramah dan responsif, para pemain dapat yakin bahwa setiap pertanyaan atau masalah mereka akan ditangani dengan cepat dan efisien. Dengan semua fitur dan keunggulan yang ditawarkannya, tidak mengherankan bahwa OLXTOTO telah menjadi platform pilihan bagi para penjudi online yang mencari kemenangan maksimal dan hasil terbaik. Jadi, jika Anda ingin bergabung dengan jutaan pemain yang telah merasakan keajaiban OLXTOTO, jangan ragu untuk mendaftar dan mulai bermain hari ini!  
    • OLXTOTO adalah bandar slot yang terkenal dan terpercaya di Indonesia. Mereka menawarkan berbagai jenis permainan slot yang menarik dan menghibur. Dengan tampilan yang menarik dan grafis yang berkualitas tinggi, pemain akan merasa seperti berada di kasino sungguhan. OLXTOTO juga menyediakan layanan pelanggan yang ramah dan responsif, siap membantu pemain dengan segala pertanyaan atau masalah yang mereka hadapi. Daftar =  https://surkale.me/Olxtotodotcom1
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.