MadDev
Last Activity:
Aug 17, 2017 at 6:10 PM
Joined:
Mar 5, 2016
Messages:
11
Positive ratings received:
0

Post Ratings

Received: Given:
Like 0 3
Agree 0 3
Funny 0 1
Winner 0 0
Informative 0 0
Friendly 0 0
Useful 0 0
Optimistic 0 0
Creative 0 0

Following 1

Followers 1

Gender:
Male
Birthday:
Oct 5, 2001 (Age: 17)
Location:
United Kingdom

Share This Page

MadDev

Male, 17, from United Kingdom

MadDev was last seen:
Aug 17, 2017
    1. ThatAutisticBoy
      ThatAutisticBoy
    2. ThatAutisticBoy
      ThatAutisticBoy
      Here Ill send you what I have to do.
      1. MadDev
        MadDev
        kk
        Mar 6, 2016
    3. ThatAutisticBoy
      ThatAutisticBoy
      Okay. I figured out how to disable and enable the player name and have their own custom message. But... The player name is on a second line. Is there a way to move the player name to fit In place with the message?
      1. MadDev
        MadDev
        inside the first sendMessage just add a '+' sign before you use player.getname instead of making a new message altogether.
        Mar 6, 2016
    4. ThatAutisticBoy
      ThatAutisticBoy
      What is the Boolean called?
    5. ThatAutisticBoy
      ThatAutisticBoy
      Like, I'm trying this atm. if(this.getConfig().getBoolean("teleportchatenable"))
      this.getConfig().getBoolean("player.getName");

      player.sendMessage(this.getConfig().getString("test") + (ChatColor.translateAlternateColorCodes('&', "test") + player.getName())); {

      Didn't work...
      1. MadDev
        MadDev
        That won't work because the boolean isn't called "player.GetName()"
        Mar 6, 2016
    6. ThatAutisticBoy
      ThatAutisticBoy
      Okay. So if I would call it player-name in the config.yml. How would I do that in eclipse?
    7. ThatAutisticBoy
      ThatAutisticBoy
      Didn't work. But thanks for your help.
      1. MadDev
        MadDev
        Np, anytime.
        Mar 6, 2016
      2. MadDev
        MadDev
        What didn't work?
        Mar 6, 2016
      3. MadDev
        MadDev
        Ahhh
        You need only 1 boolean, call it something like 'player-name'. Then test if that boolean is true or false.
        Mar 6, 2016
    8. ThatAutisticBoy
      ThatAutisticBoy
      1. MadDev
        MadDev
        It wont look right because of the indents not being there, go to the class and do ctrl+shift+f to format it.
        Mar 6, 2016
      2. MadDev
        MadDev
        And I did a terrible description on what you have to do in the config.yml. Basically just use .getConfig().setString("path", "value") like you did with the boolean.
        Mar 6, 2016
    9. ThatAutisticBoy
      ThatAutisticBoy
      Like I pasted in the stuff. And what should I put in the config.yml so players can edit the messages?
      1. MadDev
        MadDev
        Make some strings that you can access and basically do what you're doing with the colour codes.
        Mar 6, 2016
    10. ThatAutisticBoy
      ThatAutisticBoy
      What would I put in the config.yml?
      1. MadDev
        MadDev
        What do you mean?
        Mar 6, 2016
    11. ThatAutisticBoy
      ThatAutisticBoy
      Okay! Thanks!
      1. MadDev
        MadDev
        Np
        Mar 6, 2016
    12. ThatAutisticBoy
      1. MadDev
        MadDev
        I just pasted the solution in the thead :D
        Mar 6, 2016
    13. ThatAutisticBoy
      ThatAutisticBoy
      I can send you my whole plugin. If you can tell me what I need to do to make me have an option to enable or disable the player name that would be great.
    14. ThatAutisticBoy
      ThatAutisticBoy
      I don't understand what you mean. Sorry I'm new to code. Started about 4 days ago.
    15. ThatAutisticBoy
      ThatAutisticBoy
      Can you help me with my plugin?
      1. MadDev
        MadDev
        Sure
        Mar 6, 2016
      2. MadDev
        MadDev
        It comes up with false because you are printing the value of the boolean instead of testing for it. Try testing before the sendMessage
        Mar 6, 2016
  • Loading...
  • Loading...
  • About

    Gender:
    Male
    Birthday:
    Oct 5, 2001 (Age: 17)
    Location:
    United Kingdom
    Spigot Dev In Training
    Hey, I'm MadDev. I work for the LudumNetwork and I've been coding for about a year. I have made lots of plugins, just I have recently 'rebranded' and created a new account. If you want any help or want to hire me, just give me a quick pm. Also, keep an eye out for my upcoming plugin which will be a free crates plugin designed to be as good as a premium one that are sued on large server networks.


    Thanks for reading this short description,
    ~MadDev