Welcome, Guest. Please login or register.

Author Topic: [1.4.5/6/7] keepcalm's mods - Events API, BukkitForge - Interdim TPs, Lockette!  (Read 199917 times)

0 Members and 2 Guests are viewing this topic.

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
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!
Hidden
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
Hidden
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!
Hidden
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
Hidden
ForgeCore 1.4.5-0 (coremod): Download!

Source code: Github!

ForgeCommands BETA!
Hidden
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
Hidden
- 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
Hidden
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
Hidden
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
« Last Edit: February 25, 2013, 07:04:45 AM by keepcalm »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline dragomegak

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 4
  • Karma: +1/-0
  • I am new!
    • View Profile
Re: [1.4.2] keepcalm's mods
« Reply #1 on: November 10, 2012, 12:58:24 AM »
Some suggestions for mods:

Deadbolt
Deathmessage
Essentials
highjump
mobhealth
spout(?)

Follow members gave a thank to your post:


Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.2] keepcalm's mods
« Reply #2 on: November 10, 2012, 05:56:41 AM »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline xKillerbees

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
  • Karma: +0/-0
  • Gender: Male
  • Click Click Boom
    • View Profile
    • KBG Servers
Re: [1.4.2/1.4.5] keepcalm's mods - URL Shortener, Block break event!
« Reply #3 on: November 27, 2012, 03:08:23 AM »
Your block break has my interest as the functionality is what I want the most if I was to lose bukkit ports.

Does it output everything into the server log? If so, any chance for mysql output like logblock?
« Last Edit: November 27, 2012, 08:26:32 AM by xKillerbees »

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.2/1.4.5] keepcalm's mods - URL Shortener, Block break event!
« Reply #4 on: November 27, 2012, 07:12:04 AM »
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.
« Last Edit: November 27, 2012, 07:29:11 AM by keepcalm »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline Sich

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Permissions API, Block break event, vanish!
« Reply #5 on: November 30, 2012, 05:15:19 PM »
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 :)

Offline TheAraulin

  • Tree Puncher
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 8
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #6 on: December 04, 2012, 04:29:58 AM »
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:

Hidden
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
« Last Edit: December 04, 2012, 04:32:03 AM by TheAraulin »

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #7 on: December 04, 2012, 05:43:07 AM »
Install it in coremods?
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline maiky129

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #8 on: December 04, 2012, 06:07:58 PM »
Umm... Can't you please make a 1.4.2 version of Bukkit4Vanilla? I am using the Feed-The-Beast pack on my serve, and it's currently in version 1.4.2 :(

Offline TheAraulin

  • Tree Puncher
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 8
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #9 on: December 04, 2012, 11:26:23 PM »
Forgot to mention that the error was with the mod in the coremods folder.

Offline Andrew_attackk

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #10 on: December 05, 2012, 01:18:21 PM »
2 requests. (these are fairly complicated plugins so if u don't port them its cool)

my two requests are

voxelsniper
and
voxelport 2

thank you in advance for any replies or if you do decided to do them

Offline bulzipke

  • Tree Puncher
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 4
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #11 on: December 06, 2012, 05:07:54 PM »

  Awesome project !!!

  I guess, these plugins can make forge users more interest. :)

  iconomy
  Regios
  CoreProtect
  SimpleRestart


  I cheer your project.

Offline Evert

  • Tree Puncher
  • *
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 23
  • Karma: +3/-0
  • Gender: Male
  • I am new!
    • View Profile
    • PowerBeat
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #12 on: December 09, 2012, 08:23:51 AM »
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.

Code: [Select]
public class ProtectEventHookContainer
{
@ForgeSubscribe
public void blockBreak(BlockBreakEvent event)
{
event.player.sendChatToPlayer("Block Event Test");
}
}
And in the main mod:
Code: [Select]
@Init
public void init(FMLInitializationEvent event)
{
MinecraftForge.EVENT_BUS.register(new ProtectEventHookContainer());
}

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

Offline blindahl

  • Tree Puncher
  • *
  • Thank You
  • -Given: 1
  • -Receive: 1
  • Posts: 4
  • Karma: +1/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #13 on: December 10, 2012, 05:27:38 AM »
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.

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #14 on: December 10, 2012, 10:41:38 AM »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Follow members gave a thank to your post:


Offline luacs1998

  • Administrator
  • World Shaper
  • *****
  • Thank You
  • -Given: 5
  • -Receive: 175
  • Posts: 1915
  • Karma: +240/-11
  • Red crayons!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #15 on: December 10, 2012, 12:16:14 PM »
Or you could just ship a dummy jar with a manifest.
Read the EAQ before posting! OR ELSE!
luacs isn't part of the Forge team, he can do whatever the hell he wants.

www.forgeessentials.com

Offline thebest108

  • Creeper Killer
  • **
  • Thank You
  • -Given: 3
  • -Receive: 17
  • Posts: 230
  • Karma: +22/-4
  • Gender: Male
  • Developer of Advanced Technologies and more+!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #16 on: December 11, 2012, 07:37:03 AM »
You dont need a whole API to break a block, however I'm not spilling my secret on how I do it, but you don't need an api
If you don't know what I'm talking about, turn off your computer and get out a coloring book ;p

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #17 on: December 11, 2012, 10:19:38 AM »
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.
« Last Edit: December 11, 2012, 10:21:36 AM by keepcalm »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline blindahl

  • Tree Puncher
  • *
  • Thank You
  • -Given: 1
  • -Receive: 1
  • Posts: 4
  • Karma: +1/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #18 on: December 12, 2012, 09:07:16 PM »
Mystcraft - interesting, hadn't seen that before. However, i'm more interested in moving my existing worlds over to forge than making new ones. And it doesn't look like mystcraft is aimed at doing that. although their mechanic is rather cool, for a myst fan.

Follow members gave a thank to your post:


Offline mylady

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, Bukkit4Vanilla
« Reply #19 on: December 13, 2012, 03:22:42 AM »
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:

Hidden
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.

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #20 on: December 13, 2012, 06:50:56 AM »
So it says 'ForgeCore is a coremod!'?
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline ev3rm0r3

  • Tree Puncher
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #21 on: December 13, 2012, 07:44:42 AM »
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)

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #22 on: December 13, 2012, 10:48:04 AM »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

Offline Mceonith

  • Tree Puncher
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 7
  • Karma: +0/-0
  • I am new!
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #23 on: December 13, 2012, 06:46:39 PM »


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

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!
Hidden
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
Hidden
ForgeCore 1.4.5-0 (coremod): Download!

Source code: Github!

ForgeCommands BETA!
Hidden
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
Hidden
- 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
Hidden
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
Hidden
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
Hidden
This mod adds a block break event function.

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

For modders
Hidden
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:
Code: [Select]
@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
[/quote]

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 :)

Offline keepcalm

  • Forge Modder
  • Diamond Finder
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 66
  • Posts: 276
  • Karma: +89/-2
  • MCPatcher is pure evil
    • View Profile
Re: [1.4.5] keepcalm's mods - Block break event, (working) Bukkit4Vanilla
« Reply #24 on: December 14, 2012, 06:17:05 AM »
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!
Hidden

Tired of waiting for mods to port to bukkit?
use BukkitForge! (now with a working version of WorldEdit!)

 

Close
Please register or Login to join in on the community!