-
Notifications
You must be signed in to change notification settings - Fork 0
Home
AlexIILLib mostly has classes used by both of my mods, however it does also have 3 possibly helpful features.
Chat text time allow for adding how long ago a player said something in chat.
It is disabled by default, but can be turned on by changing the config option to true S:textTime=false -> S:textTime=true
Enabling it will, by default, make chat messages look more like this:
<2m48s><AlexIIL>Hello
<1m5s><Ezector>Hello there
<2s><AlexIIL>Hello again
You can also change whether or not seconds are displayed, or if they are displayed when the timer has gone past the 1 minute mark.
Changing the preTimeChar and postTimeChar properties will change what is put around the timer, so changing them to preTimeChar=[[[ and postTimeChar=]]] will result in this:
[[[2m48s]]]<AlexIIL>Hello
[[[1m5s]]]<Ezector>Hello there
[[[2s]]]<AlexIIL>Hello again
This will allow you to change what ip address a server is when you connect to it. This is mostly for private servers with friends, where the server host puts a text file in a private folder that only the people that they want on the sever can access. (for example, a private shared dropbox folder). The idea here is the the host can change the server's IP address whenever it changes (for instance, if you have a roaming ip address and you don't want, or cannot, make it a static address)
In the config, change S:roamingIP=false -> S:roamingIP=true and put the location of your roaming IP address file insted of null 'S:roamingIP.location=null' -> 'S:roamingIP.location=/a/location/file.txt'
Just copy and paste the location of the file from a file explorer window. You can use the '.' (full stop) character to explore the current location (will be the folder that has a config folder, a mods folder and the saves folder for that instance).
The config file must be of the form [SERVER_NAME]=[SERVER_IP]
So, for example, placing idaddress.txt inside of the config folder means that you would have
S:roamingIP=true
S:roamingIP.location=./config/roamingipaddress.txt
Inside alexiillib.cfg, and for this example a valid config file would be:
minecade=199.192.75.57
not a server=183.238.812.79872
Where the first server is minecade, and the second is not a valid ip address. Loading that would give
[12:41:29] [Client thread/INFO] [alexiillib]: Added (minecade) -> (199.192.75.57)
[12:41:29] [Client thread/INFO] [alexiillib]: Added (not a server) -> (183.238.812.79872)
In the log file, and in the minecraft launcher (if it is open).
If you had an invalid config file (say, any of these)
minecade=199.192.75.57
not a server=1.7.1.2
=
no ip address=
no equals sign-1.7.3.12
multiple=equals=signs
It would tell you in the log, wand which lines needed to be fixed:
[13:02:26] [Client thread/INFO] [alexiillib]: Added (minecade) -> (199.192.75.57)
[13:02:26] [Client thread/INFO] [alexiillib]: Added (not a server) -> (1.7.1.2)
[13:02:26] [Client thread/WARN] [alexiillib]: Found an equals sign at the start of the line #2, "="
[13:02:26] [Client thread/WARN] [alexiillib]: Found an equals sign at the start of the line #3, "no ip address="
[13:02:26] [Client thread/WARN] [alexiillib]: Did not find an equals sign at line #4, "no equals sign-1.7.3.12"
[13:02:26] [Client thread/WARN] [alexiillib]: Found more than one equals sign in the line #5, "multiple=equals=signs"
Note that the empty line is ignored.
In the Server Gui, you can use these by typing roaming-[THE_NAME] or roaming-[THE_NAME]:port. For the minecade sever, you would type roaming-minecade. If you wanted to connect to port 25579 on the minecade server you can type roaming-minecade:25579
This one is a bit of a misnomer, as it doesn't improve potions in any way, however it does go up higher than VI for potions in your inventory screen. So, you can now have XXXVIIas a potion. Not that you ever would in vanilla minecraft, or in most sane mods. (37 is a very large potion number)