Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

gabyfle/gName-Changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Name Changer banner

gName-Changer

An essential addon for your DarkRP server !

Informations

This addon don't come with any warrantly. It's a completly free addon.

If you find a bug, you can report it in the "Issues" section of this repositery

This is a simple addon that allow to your players to go to the tawn hall to make a request for a name change. It comes with an Admin panel and few admins commands to make your administration easier.

Features

  • Easy setup
    • [HOT] Save the NPCs position! (command: gname_save_all [configurable])
    • A complete config file : change colors, models and more !
  • First spawn name change request [ BETA ]
    • Configurable (active / disable)
    • Nice blurred overlay, with community name and description
  • Force the player to change his identity when he dies
  • A nice UI
    • Clean, elegant and beautiful dermas
    • Smooth animations
    • [HOT] Responsive panels ! (fixed!)
  • Facilitate your administration
    • Anti-spam protection! (configurable)
    • Protection against smarties trying to use derma without going through the NPC.
    • [HOT] An incredible blacklist system to block unwanted names and facilitate your administration!
    • A beautiful admin panel to config the blacklist system
    • Force player to have a proper caligraphy (configurable)
    • Force player to change his RPName (command : gname_force <steamid>)
  • Fits developers requirements, by allowing them to add things easily, and by having a well-indented and commented code
  • Works with the latest DarkRP version !

Planned features

Screenshots

These screenshots have been taken with the default colors. All colors are changeable.

First spawn name change request

overlay

3D2D NPC's title :

3d2d

(animation : https://goo.gl/RVnMrq)

Home frame :

frame

RPName changing frame :

Name

Blacklist's Admin Panel :

Admin Panel

Installation

The installation is pretty easy !

Just drap & drop the "gname-changer" folder to your "addons" folder in your own server. It had to looks like :

Looks like

Developers

gNameChanger allows you to add some actions to his principal frame. Here, a short example of how you can add new actions :

  • First, you'll need to have a function that can be executed from an other addon :
function printHi()
  print("Hi")
end

hook.Add("gunlicencetesting", "testingthings", printHi)
  • Then, you can easily add an action by doing something like this, in the gNameChanger.actions table (located in config file) :
    ["gunlicence"] = {
        buttonText = "I want to buy a gun license!",
        buttonColor = Color(51, 25, 86),
        action = function() 
            hook.Run("gunlicencetesting")
        end
    }

This will create a new button, and will rearrange the display of the frame :

New action button

Configuration

You can easily config your addon, by modifiying the "gname_changer_config.lua". To do this, just go to :

addons/gname-changer/lua/autorun/`

And open the file named : "gname_changer_config.lua" 💋

Contact me

Do you need my services, help or anything else ? Contact me on :