Thanks!
ServerInfo
Moved
Total Downloads: 10,608 - First Release: Aug 29, 2015 - Last Update: Oct 27, 2017
- 5/5, 53 likes
-
Hey Baton,
is it possible to make something like hyperlinks click able? Tho when i post a link the players can click on it?
At Freaky:
Like this: /clan create ''TAG'' ''Description'' -
Thanks! That worked!
-
Weird. Every time i install this plugin and the server restarts or goes to start up, it just stops and doesn't boot up. If i remove this plugin and try start up, it does fine
-
[DOUBLEPOST=1441014440][/DOUBLEPOST]Is there any possibility to make text auo-fit width of info box? Because if I add a good piece of text, there is only one line is shown and the rest of text is behind the HUD =((. And is there any "new line" symbols like "\r\n"? -
There is no support for \n or \r\n right now. I'm working on autofit, but I don't have guarantees.
Right now there are only two ways how to do it in my mind:
- Autospacing - plugin will break your text to fit user screen. I dont see a way to fo this nicely, so option 2 and current way is likely to stay.
- You are manually editing and fitting text by making few lines. -
Any news on clickable links? -
I believe clickable links can't be done with current rust API. -
Every time I create another line in the config it stops the plugin from working...
Code:[Oxide] 7:32 PM [Error] Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.0.2' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 7:32 PM [Debug] at Oxide.Plugins.ServerInfo.ShowInfo (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Sep 1, 2015 -
-
Config content:
Code:{ "Tabs": [ { "Name": "<color=#FCBD06>TRust</color>", "TextLines": [ "Welcome to TRust official server. Here you can find all of the server information, rules and more." "Line 2" "Line 3" ] }, { "Name": "<color=#FCBD06>Voting</color>", "TextLines": [ "This is second tab" ] }, { "Name": "<color=#FCBD06>Plugins</color>", "TextLines": [ "This is third tab" ] } ], "ShowInfoOnPlayerInit": true }
Last edited by a moderator: Sep 1, 2015 -
TextLines in TRust are formatted incorrectly. Use the site to make valid config -
-
Still can't reproduce the issue:
-
-
Not sure, could you post your plugin list?
-
I completely forgot to add the ',' after the first and second line. Lol -
That's why I gave you the link to config validator
-
-
isn't there that new server command "server.url" which includes URLs in your server description? Could it be possible to use that to paste a URL in the ServerInfo file which should be click able with a button or anything?
[DOUBLEPOST=1441054672][/DOUBLEPOST]This is the string from the csharp-assembly:
Code:[Admin] public static string url;