Use the version above your post.
HelpText
Moved
Total Downloads: 18,186 - First Release: Oct 23, 2014 - Last Update: Feb 3, 2017
- 4.92105/5, 38 likes
-
-
EDIT: I see, you're using the old format for the .cs. Works great. Thanks for the update. -
I replaced only HelpText.cs, and now when I type /help it doesnt show informations of other plugins like before, it only stay blank it doesnt show nothing nor invalid command?
-
-
-
35 HelpText - Failed to compile: HelpText.cs(59,45): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `ConnectedPlayer' and no extension method `ConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference?
-
-
ok.... stay with me its gonna get weird. Help was working prior to update. After todays update, not working. updated with the newest .cs in here now it works but all the plugins that i added 'help' lines to are not working. i get errors for each one such as....
23:32 [Error] Failed to call hook 'SendHelpText' on plugin 'NTeleportation v1.0.11' (InvalidCastException: Cannot cast from source type to destination type.)
23:32 [Debug] at Oxide.Plugins.NTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
23:32 [Warning] Calling 'SendHelpText' on 'NTeleportation v1.0.11' took 605ms
This is the line of its referencing what has changed so that its not working any longer?
}
[HookMethod("SendHelpText")]
private void SendHelpText(BasePlayer player)
{
string text = "/home add <name> - Saves your current position as the location name.\n/home list -Shows you a list of all the locations you have saved.\n"+
"/home remove < name > -Removes the location of your saved homes.\n/home < name > -Teleports you to the home location.\n"+
"/tpr <player name> - Sends a teleport request to the player.\n/tpa - Accepts an incoming teleport request.\n"+
"/tpc - Cancel teleport or request.\n/town - Teleports yourself to town.(NOT ON SERVER YET!)\n/tpinfo - Shows limits and cooldowns";
player.ChatMessage(text);
}Last edited by a moderator: Aug 19, 2016 -
[Oxide] 10:32 [Error] HelpText plugin failed to compile!
[Oxide] 10:32 [Error] HelpText.cs(59,45): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `ConnectedPlayer' and no extension method `ConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference? -
custom helptext
custom helptext
BUT then i changed my .json file to:
{
"Settings": {
"AllowHelpTextFromOtherPlugins": false,
"CustomHelpText": [
"============",
"/home :For more home teleport commands",
"/tpr :For more p2p teleport commands",
"/Town :To teleport to the town set by the admin",
"============",
"/pm <name> <message> :For private message",
"/r <message> :To reply on Private message",
"============",
"/Bounty :For all bounty commands",
"============",
"/clan help :For all Clans commands",
"============",
"/s :To open shop",
"============",
"/rules :For Rules",
"/player :To see who is online",
"/ticket :To see all ticket commands and leave a report for the admin",
],
"UseCustomHelpText": true
}
}
BUT then when i use /help now, it is blank... and when i use oxide.reload HelpText. the command goes back to:
custom helptext
custom helptext
PLEASE HELP =( -
Calytic Community Admin Community Mod
-
[Oxide] 14:26 [Error] HelpText plugin failed to compile!
[Oxide] 14:26 [Error] HelpText.cs(59,45): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `ConnectedPlayer' and no extension method `ConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference? -
Wulf Community Admin
-
-
i am getting the same error,
32 HelpText - Failed to compile: HelpText.cs(59,45): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `ConnectedPlayer' and no extension method `ConnectedPlayer' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference?
(had to argue for 4 hours to get it installed)
(Btw same type of error for remover tool)
33 RemoverTool - Failed to compile: RemoverTool.cs(515,41): error CS0246: The type or namespace name `ILivePlayer' could not be found. Are you missing an assembly reference?
is this the latest oxide version ?
Oxide 2.0.2298 for Rust 982.13 (1490) -
Original:
Code:private void Loaded() { 24 this.UseCustomHelpText = GetConfig<bool>("Settings", "UseCustomHelpText", false); this.AllowHelpTextFromOtherPlugins = GetConfig<bool>("Settings", "AllowHelpTextFromOtherPlugins", true); 26 this.CustomHelpText = GetConfig<List<object>>("CustomHelpText", new List<object>() { "custom helptext", "custom helptext" }); } protected override void LoadDefaultConfig() { 34 Config["UseCustomHelpText"] = false; Config["Settings", "AllowHelpTextFromOtherPlugins"] = true; 36 Config["Settings", "CustomHelpText"] = CustomHelpText = new List<object>() { "custom helptext", "custom helptext" }; SaveConfig(); }
Code:private void Loaded() { 24 this.UseCustomHelpText = GetConfig<bool>("Settings", "UseCustomHelpText", false); this.AllowHelpTextFromOtherPlugins = GetConfig<bool>("Settings", "AllowHelpTextFromOtherPlugins", true); 26 this.CustomHelpText = GetConfig<List<object>>("CustomHelpText", new List<object>() { "custom helptext", "custom helptext" }); } protected override void LoadDefaultConfig() { 34 Config["Settings", "UseCustomHelpText"] = false; Config["Settings", "AllowHelpTextFromOtherPlugins"] = true; 36 Config["CustomHelpText"] = CustomHelpText = new List<object>() { "custom helptext", "custom helptext" }; SaveConfig(); }
Last edited by a moderator: Aug 20, 2016 -
mr Calytic, due to the recent updates, resulting in failure of the plugins HelpText please update as soon as possible! Thank you!
-