ClanTags

Moved

Total Downloads: 2,083 - First Release: May 1, 2017 - Last Update: Nov 21, 2017

5/5, 11 likes
  1. There is I was gonna do it today but got busy for now just edit the config if you wanna keep changing it rn
     
  2. GreenArrow updated Clan Tags with a new update entry:

    0.4

     
  3. The permission is for admins/mods, right? You can't update your own clan, right?

    Just asking so I don't get it wrong. :)
     
  4. Yeah its for admins players changing colors all the time seems annoying and the Clans API doesnt really have a getclanowner feature lol id have to deconstruct the table then see if they are the owner just ehh admins seem better anyway
     
  5. edit:
    alright then, i'll just remove my post. i was offering suggestions + the code to do so if you wanted it. i thought it was explained and commented well enough to follow.
    cheers
     

    Attached Files:

    Last edited by a moderator: Oct 11, 2017
  6. I have no idea what your trying to do but i know about GetClan() for default colors just check string name just give me suggestions for what to add please dont sent long code lines lol i dont understand others code
     
  7. I've noticed this in the console of my server.

    Code:
    (19:34:06) | [Better Chat] Error when trying to get third-party title from plugin 'Oxide.Plugins.ClanTags'
    System.NullReferenceException: Object reference not set to an instance of an object
      at Oxide.Plugins.ClanTags.GetClanTagFormatted (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+ChatGroup.FormatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
    (19:34:06) | [Better Chat] Error when trying to get third-party title from plugin 'Oxide.Plugins.ClanTags'
    System.NullReferenceException: Object reference not set to an instance of an object
      at Oxide.Plugins.ClanTags.GetClanTagFormatted (IPlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BetterChat+ChatGroup.FormatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
     
  8. Did you delete the old config ?
    [DOUBLEPOST=1507942980][/DOUBLEPOST]
    Your code was for what exactly by the looks of it it was for trimming the HTML input which shouldn't be needed for anything the "color string name " is a good idea but I don't see why it's needed the get owner thing is just a lot of doing for the time I have I'll try and do it some time but I seen the suggestions
     
  9. Nope, but I did now. Thanks!
     
  10. small error since update if not related delete post

    Code:
    (01:06:02) | Error while compiling: ClanTags.cs(35,15): error CS0103: The name `clan' does not exist in the current context
     
  11. Do you have a clan plugin?
     
  12. Getting this in the console at server boot
    Code:
    (00:17:57) | Missing plugin name prefix 'clantags.' for permission 'clantagcolors.allowed' (by plugin 'Clan Tags')
     
  13. Seeing duplicate clan tags in chat and I can't figure out how to remove the original one and just use the Clan Tags. Did I mess something up?
    The first tag is from Clans, second from Clan Tags and the others are Player Challenges. I need a way to remove the tag from clans possibly? Also, each time the Clan Tags plugin is reloaded, I have to grant permission again.

    dupicates.PNG
     

    Attached Files:

  14. This will fix your betterchat data file as to the other two remove clantags should fix your problem
     

    Attached Files:

  15. Yeah, that fixed Better chat, but no resolution for Clan Tags, so I had to remove it :(
     
  16. What'd you do to get 2 clantags?
     
  17. @GreenArrow There is one showing up for Clans and another for Clan Tags. I can't get rid of the one from Clans.
     
  18. Clans doesn't have tags ??
     
  19. Maybe better chat is creating it, but as my screenshot above shows, there are two tags showing up. That's why I'm so confused.
     
  20. What clans plugin and no better chat I don't think it does that