Suggestions for BukkitDev to make it easier for developers and users

Discussion in 'BukkitDev Information and Feedback' started by TruDan, Sep 22, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Gunnerrrrr

    I think at the plugin search for bukkitdev, a "Random plugin" button would be cool.
     
    iKeirNez and TruDan like this.
  2. Offline

    masa

    Oh, snap... Well I will give that a try. Thanks for pointing that out (again). Still, the plain text would be lighter and simpler still...
     
  3. Yeah, but might aswell use the rss :p If you read earlier in the thread, i even posted my source code for the images from the rss feed.
     
  4. Added #8, Please let me know what you think :)
     
  5. That would be cool, I can't imagine it would be too hard either. If each project is assigned to an id in a MySQL database (which it most likely is) then you just have to generate a random number in PHP and then get the project by id. That would be cool!
     
  6. MySQL actually has a random thing in it, i cannot remember it from the top of my head, but i have used it before.
     
  7. Is it not something like this
    Code:
    ORDER BY RAND()
    and then you add LIMIT 1
     
    lol768 likes this.
  8. Possibly something like that, might be WHERE `id`=RAND() something or other, however that one you put looks like the one O.0
     
  9. Good point actually, I think both will work.
     
  10. Yeah, they probably would, your one looks cleaner :p

    Also, Updated first post: Added a script for permalink :)
     
  11. Offline

    Jacek

    ORDER BY RAND() will generate a random number for every row in the table, gets slow for large tables.

    On topic: I like 7), would be nice for people to see that something is going on in the background.
     
    TruDan and iKeirNez like this.
  12. Ah ok!

    Your ones faster :)
     
  13. :O tbh i didnt even know if it would work i just remembered i did it something like that :confused: :p remembered RAND() so just stuck it in somewhere :3
     
Thread Status:
Not open for further replies.

Share This Page