Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RandomItem 4.3

Gives a random item on command and at set intervals.

  1. tnpxxsheepdog
    Offline

    tnpxxsheepdog Notable Member

    Joined:
    Dec 31, 2013
    Posts:
    350
    Minecraft User:
    TNPXXSHEEPDOG
    Sweet, thanks!
  2. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
  3. galacticravioli
    Offline

    galacticravioli New Member

    Joined:
    Feb 1, 2015
    Posts:
    2
    Minecraft User:
    IgOtTheLASTNaMe
    I tried to use this on my server but it didn't work with pure perms please fix!
  4. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    Ask the developer of PurePerms.
  5. TheChief
    Offline

    TheChief New Member

    Joined:
    Mar 30, 2015
    Posts:
    5
    Minecraft User:
    thechiefp44
    i keep getting this error :
    17:13:11[CRITICAL] Unhandled exception executing command 'gift thechief' in gift: Undefined variable: data

    17:13:11[NOTICE] UndefinedVariableException: "Undefined variable: data" (E_NOTICE) in "/RandomItem.phar/src/LDX/RandomItem/Main" at line 33

    this is when i run the command : /gift thechief
    idk whats causing this...
  6. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    I'll take a look at the code.
  7. Tolo
    Offline

    Tolo Active Member

    Joined:
    Jul 2, 2015
    Posts:
    116
    Minecraft User:
    Tolo
    Could u bring a lotory system to this plugin. For example. People pay $100 using a shop sign to play the lotory. And winning a random item. Things like diamond gear would have a lower % chance of winning.
    LDX likes this.
  8. MrHollick
    Offline

    MrHollick New Member

    Joined:
    Jul 24, 2014
    Posts:
    7
    Minecraft User:
    MrHollick
    Is there a limit to the number of different items in the item list? Or can you add additional items after the default ones?
  9. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
    You can add as many as you please.
  10. MrHollick
    Offline

    MrHollick New Member

    Joined:
    Jul 24, 2014
    Posts:
    7
    Minecraft User:
    MrHollick
    Hey thanks for the reply! One other quick question is when it gives out the random item (which is working just beautifully btw) the message appears as follows. [RandomItem] Random item given! (35:0)

    Is there a way to get it to print the name of the item instead of the number? I thought i read that one of the updates fixed that?

    Anyway thanks again for responding to such an old thread and thanks for this awesome plug in!
  11. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,397
    Plugins:
    14
  12. roberttco
    Offline

    roberttco New Member

    Joined:
    Mar 26, 2016
    Posts:
    2
    Thank you for updating this plugin. Hopefully more developers (hint hint) will update theirs! I did come across this in the server log though:

    Notice: Undefined variable: data in phar:///flashstorage/pocketmine/pm14/plugins/RandomItem.phar/src/LDX/RandomItem/Main.php on line 34
  13. pinkie
    Offline

    pinkie New Member

    Joined:
    Nov 30, 2016
    Posts:
    4
    Minecraft User:
    pinkie123
  14. archie426
    Offline

    archie426 Active Member

    Joined:
    Apr 26, 2015
    Posts:
    193
    Minecraft User:
    archie426
    Please don't bump REALY old threads (Ok lol I can't talk)
    HimbeersaftLP likes this.

Share This Page

Advertisement