Filled Gambling Plugin Request

Discussion in 'Plugin Requests' started by commedore64, Jan 5, 2017.

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

    commedore64

    Plugin name: Double or nothing

    Idea for the plugin:
    You type something in chat for example /don . After you have wrote /DON in the chat a text in chat will popup and you will have to type how much money you want to bet in the chat. Than you will have to wait 3 seconds(It will count down in chat from 3) and than it will double your money or you will get nothing. 45% Win chance 55% lose chance
    To bet again you will have to type /don in the chat again.


    Commands:
    /DON to start betting

    Permissions:
    double.nothing to start betting
     
    Last edited: Jan 5, 2017
  2. Offline

    timtower Administrator Administrator Moderator

    @commedore64 Will do this for you.
    With language settings
    But why not /don <amount> ?
     
    Last edited: Jan 5, 2017
  3. Offline

    commedore64

    Im going to add the command /don to a npc and when a player clicks it he will type in the amount
    and if that dosent work well i dont really care.
     
  4. Offline

    timtower Administrator Administrator Moderator

    Will make this in a couple hours.
     
  5. Offline

    commedore64

    Okay thanks for the help you are the best!
     
  6. Offline

    Skrubzy

    You should make it so they can do either one: "/don <amount>" Will use the amount you defined and "/don" will just open the GUI
     
  7. Offline

    timtower Administrator Administrator Moderator

  8. Offline

    commedore64

    When you type /don it says

    An internal error occurred while attempting to perform this command
     
    Last edited: Jan 5, 2017
  9. Offline

    timtower Administrator Administrator Moderator

  10. Offline

    commedore64

  11. Offline

    timtower Administrator Administrator Moderator

  12. Offline

    commedore64

  13. Offline

    timtower Administrator Administrator Moderator

    @commedore64 Different error though.
    Due to the amount: will test myself now, faster to fix all the bugs.

    EDIT:
    Fixed all visible bugs, also added /don <amount> for easy testing and playing.
    Only 1 bet at the time.
    Messages configurable.
    Same download link.
     
    Last edited: Jan 6, 2017
  14. Offline

    commedore64

    Just Wondering.
    Can you make it so you can add color codes to all the texts.
    And you can edit all the texts
     
  15. Offline

    timtower Administrator Administrator Moderator

  16. Offline

    commedore64

    When i tried to use color codes to the text it cut off a word like when i did in betting it should say &9Betting in 3 but it says in 3 instead and with no color codes
    And i cant edit the betting text. I cant remove the (betting in) 3

    But you dont have to if you want

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jan 6, 2017
  17. Offline

    timtower Administrator Administrator Moderator

    @commedore64 Did you put single quotes around the string after you added the & ?
    Are you editing the config when the server is stopped?
     
  18. Offline

    commedore64

    Yes i am adding the single quotes that dosent work and yes im editing the config when the server is stopped

    EDIT: Nvm it works but can you help me with groupmanager its an error?

    Nvm i fixed groupmanager
     
    Last edited: Jan 6, 2017
  19. Offline

    timtower Administrator Administrator Moderator

Thread Status:
Not open for further replies.

Share This Page