Flappy Jump

Discussion in 'Archived: Plugin Requests' started by WoodCollector, Feb 12, 2014.

  1. Offline

    WoodCollector

    Hey!
    My minecraft name is WoodCollector. Please make this plugin i really need it!

    Plugin category: Fun

    Suggested name: FlappyJump

    What I want: I want you to make a plugin that adds the /flappy
    To do so you must jump boost 4 in an infinite time. You can write /flappy again to turn it off. Admins will be able to command /flappy (player) off /on. The admin command must function in the command block.


    Player commands: /flappy
    Admin commands: /flappy (player off/on


    Ideas for permissions:
    flappy.player Give you acces to the /flappy command
    flappy.admin Give you acces to the /flappy (player) off/on command

    When I'd like it by: As soon as possible
     
  2. Offline

    Desle

  3. Offline

    Garris0n

    You could use an alias for /effect or a similar command.
     
  4. Offline

    WoodCollector

  5. Offline

    JRL1004

    Garris0n Not really. Aliases do not support arguments (or at least not that I know of).
     
  6. Offline

    WoodCollector

    Can you make the plugin? JRL1004
     
  7. Offline

    JRL1004

    WoodCollector I could make it later but odds are someone else will have gotten it by then. I leave in about 10 minutes so I don't have the time right now.
     
  8. Offline

    Garris0n

    CommandHelper then.
     
  9. Offline

    JRL1004

  10. Offline

    WoodCollector

    If it can make so i have the /flappy commad and give it permissions so i Think yes? JRL1004
    I dont really understand the describtion of CommandHelper but i Think it whould be great if that works!

    What is the permission code for /effect (me) jump 1000000 4 ?

    And what should I write on the "me"?

    Wait! How do i get the permission code + what should I write on the "me"? in the command /effect (me) jump 1000000 4
     
  11. Online

    timtower Administrator Administrator Moderator

  12. Offline

    WoodCollector

  13. Offline

    chasertw123

    I almost have a plugin that works like this but instead of flappy it is called superjumpplus. I'll try and finish it today!
     
  14. Offline

    WoodCollector

    /flappy = effect(player(),8,4,999999)

    And what is the permission i add to the player?

    Gives you strength? timtower

    Looks good send link soon
     
  15. Online

    timtower Administrator Administrator Moderator

    Then you find the right ID?
     
  16. Offline

    WoodCollector

    I want jumpboost so...

    /flappy = effect(player(),8,4,999999)

    That is right?

    And what is the permission i give to the player?

    timtower
     
  17. Online

    timtower Administrator Administrator Moderator

    And that is different than I gave you how? You can check the numbers for yourself.
    And there is a page that is explaining the permissions on the wiki, search it, find it, read it.
     
    FrankJeuxYT likes this.
  18. Offline

    WoodCollector

    timtower what in the code for take away all effects?
     
  19. Online

    timtower Administrator Administrator Moderator

    Set the time to 1 second? Or to 0 if that works?
     
  20. Offline

    WoodCollector

    okay, but i don't find the perms ;( timtower

    I look on CommandHelper Wiki ... Don't find ;(

    timtower on witch side whould i look on?

    I dont find anything with the permission /effect (me) 8 100000 4

    PLEASE HELP!

    I really want this to work.
    timtower thanks for all the help!
     
  21. Online

    timtower Administrator Administrator Moderator

  22. Offline

    WoodCollector

    timtower okay...

    THANKS SO MUCH!!!!!
    I LOVE YOU!!! THANKS!!!!!!!!!
     
  23. Offline

    toothplck1

    They do.
     
  24. Offline

    WoodCollector

    Is this right??? (look down)
    Code:
    #=========================================================================#
    #
    # Command Helper sample config file
    #
    #=========================================================================#
     
    #lines that start with # are comments
     
    #Give command, with material name lookup
    # Note that the second variable $qty is optional, and if no value
    # is given, 1 is the default. The function player() returns the
    # name of this player, and data_values() turns "stone" into 1
    # Also note that the command is labelled with "creative". If you
    # are running a creative server, and the users should always be able to give
    # themselves items, then they can do so with this command, without having to be
    # opped.
    creative:/i $data [$qty=1] = runas('~op', sconcat(/give player() data_values($data) $qty))
    ###
     
    #Give the player a diamond pickaxe, shovel, and axe
    # Note that commands are separated by \ and this creates a macro
    /kit diamond = /give player() data_values('diamond_pickaxe') 1 \
        /give player() data_values('diamond_spade') 1 \
        /give player() data_values('diamond_axe') 1
    ###
     
    #Give the player 64 each of gold tools
    # Note that the data_values function uses the enum values of
    # the material
    /kit gold = /give player() data_values('gold_pickaxe') 64 \
        /give player() data_values('gold_spade') 64 \
        /give player() data_values('gold_axe') 64
    ###
     
    #Sets the time on the server, and uses english words to set the time
    #If the english word isn't "day" or "night", it uses the number
    # Note that the equals function returns a true value if the two
    # parameters are the same, and if() runs the second argument if the
    # first argument is true, and the third argument if it is false.
    # To make an "if else" statement, you can nest if() calls, as shown
    # here.
    /time $time = /time set if(equals($time, 'day'), 1, if(equals($time, 'night'), 13500, $time))
    ###
     
    #Better tp. If "/tp name" is used, it implies "/tp thisplayer name"
    #but if "/tp name1 name2" is used, it implies "/tp name1 name2"
    /tp $p1 [$p2=''] = /tp if(equals($p2, ''), player(), $p1) if(equals($p2, ''), $p1, $p2)
    ###
     
    #Simple alias for /tell
    # The special variable "$" must be the last variable, and it matches all
    # the arguments from that point on
    /msg $player $ = /tell $player $
    ###
     
    #Simple alias for /save-all
    # Super simple aliases can be error proofed by matching all arguments, then
    # not using them. Note that this will result in a warning, but it will
    # compile fine.
    /save $ = /save-all
    ###
     
    #Shows help information
    # This demonstrates how to use die() and msg(). They work basically the same, except
    # die() kills the command if evaluated. They both send a message to the player.
    /help [$cmd=''] = if(equals($cmd, ''), die('Do you need halp?'), if(equals($cmd, 'commandhelper'), msg('The best plugin ever!'), ''))
    ###
     
    #Echoes information back to the user
    # This demonstrates how to do string concatenation
    /ping $ = die(concat('Pong!', ' ', $))
     
    #Kills the player, optionally with a message. Demonstrates how to use the multiline construct.
    thor:/thor $player [$=''] = >>>
        lightning(ploc($player))
        msg('Thou hast smitten the evil player ', $player, ' with thy mighty hand')
        tmsg($player, color('red'), if(equals($, ''), 'You have been smitten by Thor\'s Hammer!', $))
        kill($player)
    <<<
     
    #Suppose we have a plugin that broadcasts messages only to moderators, but it doesn't include the user's name
    #Also suppose that it is a very long command.
    #We can use this command to fix that:
    /mb $ = /mod-broadcast concat('(',player(),')') $
     
    #Lets notify our users to use the new, shorter version
    /mod-broadcast [$] = die(concat(color('red'), 'Use /mb instead of /mod-broadcast'))
     
    #Creates a simple way to control the weather
    rain:/rain $true_false = storm($true_false)
     
    #Demonstrates the for function, as well as ivars
    #Lists all players on the server
    /list = >>>
        #Initialize an empty string
        assign(@pl, '')
        assign(@ap, all_players())
        #loop through the array stored in @ap, from 0 to one less than the size of the array
        for(assign(@i, 0), lt(@i, array_size(@ap)), assign(@i, add(@i, 1)),
            #append our player's name to the end of @pl string
            assign(@pl, concat(@pl, @ap[@i], ' '))
        )
        #output the string
        msg(@pl)
    /test = say hi
    /flappy on = effect(player(),8,4,999999)
    /flappy off = effect(player() 8 4 999999)
    /flappy lol = effect(player(),8,1000000,4)
    <<<
    Down here???
     
  25. Online

    timtower Administrator Administrator Moderator

    WoodCollector Not really:
    Code:
    /flappy on = effect(player(),8,4,999999)
    /flappy off = effect(player(),8,4,1)
    /flappy lol = effect(player(),8,1000000,4)
    Your code: at flappy off: will throw errors, and time was wrong anyways
     
    Garris0n likes this.
  26. Offline

    WoodCollector

    NOTHING OF THIS WORKS???
    Code:
    /test = say hej
    /flappy on = effect (player(),8,4,999999)
    /flappy off = effect (player() 8 4 999999)
    /flappy lol = effect (player(),8,1000000,4)
    /test2 = /say hello
    /test lol = /effect player(),8,1000000,4)
    /test lol 2 = /effect player(),8,1000000,4)
    /test lol 3 = /effect player(),8,4,1000000)
    But all commands is just: Unknowd command

    timtower[/USER
     
  27. Online

    timtower Administrator Administrator Moderator

    WoodCollector You really don't get the syntax do you?
    Code:
    /test = /say hej
    /flappy on = effect(player(),8,4,999999)
    /flappy off = effect(player(),8,4,1)
    /flappy lol = effect(player(),8,1000000,4)
    And post your startup log, or at least look at it, do you get errors there?
     
  28. Offline

    WoodCollector

    Whats the name of the text i would look on? timtower
     
  29. Online

    timtower Administrator Administrator Moderator

    Startup, commandhelper throws errors there, but just put in the entire thing or only the piece when you perform: /reloadaliases
     
  30. Offline

    WoodCollector

    I can't copy the text from the CONSOL timtower
     

Share This Page