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.




×
×
  • Create New...

Important Information

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