onionpaste

Last active last year

  1. 7 years ago
    Thu Nov 9 01:27:26 2017
    onionpaste posted in Teleport Requests.

    @WBlaine

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

    http://javahowto.blogspot.in/2006/07/javaagent-option.html

  2. 8 years ago
    Mon Jun 26 23:11:49 2017
    onionpaste started the conversation Hi.

    Are you Imperator?
    Just wondering whether you're Imp or someone else uses this forum account.

  3. Fri Apr 14 22:23:28 2017
    onionpaste posted in Commending system.

    @Ealdwine_Drasax pay for the server and insure that their stuff is not able to be raided

    Which would violate Mojang's EULA

  4. Fri Apr 14 16:14:07 2017

    yup :D

  5. Sun Apr 9 21:56:11 2017
    onionpaste posted in A New Lottery has Started!.

    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

  6. Sat Apr 1 15:44:28 2017

    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?

  7. Thu Mar 30 23:14:43 2017

    As of now, only 139...
    But I'll update it on sunday!
    -image-

  8. Sun Mar 26 23:45:23 2017
    onionpaste posted in Sugarcane farm.

    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
    -image-
    Suppose I will have to make an auto pumpkin farm as well to get emeralds!

  9. Sun Mar 26 02:04:21 2017
    onionpaste started the conversation Sugarcane farm.

    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: -image-
    What a row looks like: -image-

    If you have any suggestions or ideas to improve this, please share them with us!
    Have a nice day :D

  10. Fri Mar 17 16:43:52 2017
    onionpaste posted in [VOTE] message change suggestion.

    Okie, that's what I'll do. Thanks!

View more