You'd need to contact your host.
Custom Chat Commands [Replaced]
Discussion in 'Plugin Support' started by Domestos, Oct 16, 2014.
-
Wulf Community Admin
-
thanks
-
I have faced some difficulties with appearence of the text on the screen. Some text (in Cyrillic) is transparent and some is shown normally. Screenshots aded (transparent text is highlited with border and arrows). Is there any solutions for that?
Attached Files:
-
-
Heey there, Ive been trying to change the color of the Chatname, but i keep failing in all ways lol. I have validated the script trough jasonlint, dont get errors back from oxide, yet the color does not change at all, This is the code i try`d to use:
Code:{ "Settings": { "ChatName": "SPARTAH", "ChatNameColor": "#C4FF00", "Write to Console": true }, "ChatCommands": { "info": { "text": [ "Custom turret controls:", "1: When you authorize, The ENTIRE clan is!", "2: bullets do 50% more damage", "3: Sight range has been increased with 50%", "4: Health is doubled to 1500", "5: Bulletspeed went from 200 to 225", "6: Aimcone has been set from 5.0 to 7.0", "", "Turrets takes these types of ammo:", "- 5.56 (normal, HV, Expl & Incen)", "- Pistol ammo (normal, HV & Incen)", "- Shotgun shells (normal shells)" ], "helptext": "Use /info to see our custom turret settings!", "permission": false }, "website": { "text": [ "Our website is under construction, Please be patient" ], "helptext": "use /help to see custom commands per plugin we got", "permission": false } } }
-
Maybe a way to change the icon, like set a custom 1?
-
-
you could use a console command through this plugins as : status = ?
-
Okay so I use GUI Help for Rust | Oxide and I want to know can this plugin make a mirror to /info? So basically when players do /help it will open /info
If this didn't make sense I'm sorry lol. -
I can not change colors of the text, please help:
Code:"help": { "helptext": "", "permission": false, "text": [ "<color=\"#d13000\"Help Text</color>", "This is an example text Line 2" ] }
//Edit: Fixed - Missed a >Last edited by a moderator: Jun 12, 2016 -
So this plugin no longer works with latest update?
-
Wulf Community Admin
-
trying to find a few plugins and i just cant seem to find them. Looking for a Rank-Me, which is hidden on the plugin list atm.. and a plugin so i can make a /info for my server to list working plugins and other commands. D:
-
Wulf Community Admin
-
Darn it. This is a plugin I was counting on - but without lua support (well, natively anyhow)...
Thanks for offering to rewrite it Wulf!! -
I am having trouble getting my commands to work I have used a json checker but i cant seem to get them to work any ideas.
Code:{ "ChatCommands": { "command1": { "helptext": "Use /help for all available commands!", "permission": false, "text": [ "/pet - activate/deactivate npc mode /pet free - release the pet /pet sleep - pet will sleep /pet info - shows info about your pet(health,hunger,thirst,stamina,etc) To select look at NPC and press USE button To attack other npc or player look at him and press USE To use follow/unfollow command press Secondary Button (def: Reload) + Main Button (def: Use) To feed npc look at dead npc and press USE (++hunger, ++thirst, +health) To open pet's inventory get closer to him and press USE" "/top - Displays GUI /kdr - Displays personal stats /ff - Displays your curren friendly fire status /ff on|off -Toggle friendly fire on or off(DEFAULT)" " z to open backpack for extra storage /buystrike - purchase with High Quality Metal or Money /callstrike - Will call strike on your current position /callstrike "playername" - Will call strike on a player" "/rem - opens GUI /sil <URL> - load picture from url(best to use www.imgur.com) /eh enable - enables enhanced hammer /friend add/+ name /friend remove/- name /where - Corpse Finder /event join - Join an open event /event leave - Leave the current event" ] }, "command2": { "helptext": "Use /admin for all admin commands", "permission": "admin", "text": [ "/spawns new - Create a new spawn file /spawns open - Open a existing spawn file /spawns add - Add a spawn point /spawns remove <number> - Remove a spawn point /spawns save <filename> - Saves your spawn file /spawns close - Cancel spawn file creation /spawns show - Display boxes on each spawn point with their corresponding spawn number", "/npc_add => create a new npc and edit it /npc_edit [Id] => edit the npc you are looking at or specified id /npc_remove [Id] => erase the npc you are looking at or specified id /npc_end => stop editing an npc /npc OPTION VALUE => set a value of an option of your npc /npc_reset => removes all npcs /npc_pathtest => follow npc path /npc_list => list all npcs /npc_way [Id] => draws path of the npc you are looking at or specified id by just putting the option, you will see what value it is currently set to Options values: attackdistance XX => Distance between him and the target needed for the NPC to ignore the target and go back to spawn bye reset/"TEXT" "TEXT2" etc => Dont forgot the \", this what will be said when the player gets away from the NPC damageamount XXX => Damage done by that NPC when he hits a player damagedistance XXX => Min distance for the NPC to hit a player (3 is default, maybe 20-30 needed for snipers?) damageinterval XXX => Interval in seconds that the NPC have to wait before attacking again enable true/false => Enable (default) or disable the NPC without deleting him (notice that when you are editing a bot it will stay active until you say /npc_end) radius XXX => Radius of which the NPC will detect the player health XXX => To set the Health of the NPC (limited by rust to max 100) hello reset/"TEXT" "TEXT2" etc => Dont forgot the ", this what will be said when the player gets close to the NPC hurt reset/"TEXT" "TEXT2" etc => Dont forgot the \", set a message to tell the player when he hurts the NPC hostile true/false => Set the NPC Hostile, will attack players on sight (radius is the sight limit) invulnerable true/false => To set the NPC invulnerable or not kill reset/"TEXT" "TEXT2" etc => Dont forgot the \", set a message to tell the player when he kills the NPC kit reset/"KitName" => To set the kit of this NPC, requires the Kit plugin (see under) lootable true/false => Set if the NPC is lootable or not maxdistance XXX => Max distance from the spawn point that the NPC can run from (while attacking a player) minstrel reset/"tunesong" => Give an NPC a song to play all the time, you need to create a song from the minstrel plugin ( Minstrel ) name "THE NAME" => To set a name to the NPC respawn true/false XX => To set it to respawn on death after XX seconds, default is instant respawn spawn new => To set the new spawn location speed XXX => To set the NPC running speed (while chasing a player) stopandtalk true/false XXX => To set if NPC should stop when a player talks to him, and if true for how much time. use reset/"TEXT" "TEXT2" etc => Dont forgot the \", this what will be said when the player presses USE on the NPC waypoints reset/"Waypoint list Name" => To set waypoints of an NPC hitchance float => chance to hit target fireduration float => time to fire reloadduration float => time to reload defend true/false => attack if attacked needsAmmo true/false => needs to have ammo in inventory to shoot" "/waypoints_new => create a new waypoints list /waypoints_add SPEED => add a waypoint (WARNING: see under for more informations) /waypoints_save NAME => save waypoints /waypoints_close => close waypoints and don't save /waypoints_remove NAME => remove waypoints /zone_add => Add a zone /zone_edit [XXXX] => Edit a zone /zone option1 value1 option2 value2 option3 value3 etc => set the zone as you want it. /zone_list => Gets the list of all current zones /zone_remove XXXX=> deletes a specific zone /zone_reset => resets all zones /zone_player [playerName] => show player zones & flags /zone_stats => shows known entity counts autolights true/false => autolights on or off depending on the time of the day (settable in the configs) eject true/false => all players will be kicked out of the zone when trying to enter it (1) enter_message "XXXXX"/false => set a message that will be sent to players when they enter the zone leave_message "XXXXXX"/false=> set a message that will be sent to players when they leave the zone location here/"x y z" => change location of zone pvpgod true/false => all players have PVP god mode in the zone pvegod true/false => all players have PVE god mode in the zone sleepgod true/false => all sleepers have god mode in the zone undestr true/false => all buildings can't be destroyed in the zone name XXX => set a name for the zone radius XXX => set the radius of the zone (default is 20) nochat true/false => prevent players from chatting in this zone nobleed true/false => prevent players from taking damage from bleeding nobuild true/false => no buildings can be built in the zone (2) noboxloot true/false => prevent players from looting boxes nodecay true/false => remove decay from all buildings and deployables in the area nodeploy true/false => items will not be allowed to be deployed (3) nocorpse true/false => remove players corpse if they die in this zone nogather true/false => prevent people from gathering in this zone notp true/false => no teleportation commands can be used to get in or out of the zone (m-Teleportation) nokits true/false => no kits can be requested inside the zone (Kits plugin) noplayerloot true/false => prevent players from looting other players or sleepers nopve true/false => animals will be invulnerable noremove true/false => block players from using the remover tool in here. default is set to true. nosuicide true/false => can't write "kill" in the console, to commit suicide nowounded true/false => when a player is supposed to die, he dies, doesn't go by the wounded state npcfreeze true/false => freeze the NPC (animals won't move any more in the zone) killsleepers true/false => all sleepers will be killed when they go to sleep here radiation XX/false => add radiation to the zone nodrown true/false => disables drowning nostability true/false => stability is turned off noupgrade true/false => buildings can't be upgraded ejectsleepers true/false => sleepers will be moved out of the zone nopickup true/false => block picking up items nocollect true/false => block picking up collectables nodrop true/false => removes dropped items" ] } }, "Messages": { "NoPermission": "You dont have permission to use this command!" }, "Settings": { "ChatName": "SERVER" } }
Last edited by a moderator: Jan 1, 2017 -
Wulf Community Admin
-
yea its installed
i think it pops up as .lua
[DOUBLEPOST=1483294805][/DOUBLEPOST]yea i have the customchatcommands.lua in my plugins folder -
Wulf Community Admin
-
whos home page
[DOUBLEPOST=1483304079][/DOUBLEPOST]got it -
Question: How do I force a line break or merge lines with this Plugin?
Last edited by a moderator: Jan 3, 2017