Last active last year
Actually, though it's "impossible", so to speak, to have custom commands, I know a way you could offer custom commands without altering the jar file at all.
I'm not too well versed on ASM class transformers, as I only started programming with them a few weeks ago, but I believe you could inject classes into a certain runtime instance using these and modify existing opcodes and instructions. I'm very familiar with Java bytecode, so if @CraftyMyner you decide to do this, I could help if needed.
If the objectweb2 ASM library doesn't have the functionality to do this, however, I think it's possible to use a lower level language like C / C++ with the JNI to inject bytecode into loaded classes.
Anyway, you would just need to transform the channel reader pipeline class, inject code at the beginning of channelRead0, and you would have custom commands without modifying the jar itself, since the transformation will happen from an external codebase.
-Stone__Warrior :)
im surprised the command-y vanilla servers don't do this
Edit: Upon further research, it appears that you can use the ow2 asm library if you use the -javaagent option in your ProcessBuilder call (if you're using Java to do the panel / server starter).
Are you Imperator?
Just wondering whether you're Imp or someone else uses this forum account.
@Ealdwine_Drasax pay for the server and insure that their stuff is not able to be raided
Which would violate Mojang's EULA
I save them up for drop parties, more lotteries, idk. If you're gonna be so petty about every db you use in lottery to potentially earn a lot, you might as well not sign up for one. Just sayin' :P
Hi @cepheid !
so, as you probably know with all that wealth, having 10 stacks of diamond blocks isn't that useful for a single person, other than being able to buy anything...
so here's a suggestion!
maybe, can you distribute the 10 stacks of diamond blocks over a few (ex, 5 or 10) people? more people would be benefited by this, and it wouldn't allocate all the wealth to a single person, just out of sheer luck!
what are your thoughts on this?
As of now, only 139...
But I'll update it on sunday!
Good idea! I didn't think pumpkins were useful, but after reading your post, they probably are.
My reason for using sugarcane is mainly that once I get a villager breeder started up, I can trade with the librarians to get emeralds and unlock the book trades. Also, I can sell the sugarcane to people who want to do the same.
haha my redstone is very messy too sometimes
Suppose I will have to make an auto pumpkin farm as well to get emeralds!
Hello everyone!
So for a long time, I have been in need of a nice way to gather sugarcane. I'm sure everyone has great auto-sugarcane farm designs, so here is mine too!
I have a 3x4 grid of 16 sugarcane in each grid box, and 16 pistons too, that push the sugarcane into a stream of water. All of these grid squares channel the sugarcane into a dropper elevator that puts the it into chests, for collection.
Dropper system:
What a row looks like:
If you have any suggestions or ideas to improve this, please share them with us!
Have a nice day :D
Okie, that's what I'll do. Thanks!