FLockClient - Server
FLockClient
ATTENTION: At this time I'm not able to maintain this project. If any experienced developer wants to maintain this project while I can't, contact-me.
FLockClient is a small and simple tool to force players to use the server defined .jar, It might be useful to modded server and also can work to prevent hacked clients, forcing all the players to use a clean .jar. A client-side modification is required.
Pages: Instructions || Permissions || Key Numbers || Jenkins
Features
- Highly Configurable
- Random security keys
- Multiples clients
- Force player to use a defined client
- Permissions to each client
- Download files from the server
- Permanent ban by MAC address
- more
Permissions
Permission | Effect |
---|---|
FLockClient.Debug | Receive in-game debug messages |
FLockClient.F3 | Access access to the "F3" menu |
FLockClient.Texture | Ability to bypass the texture pack lock |
FLockClient.hash.<client> | Access to the <client> defined |
FLockClient.Gui.Debug | Show debug information on download |
FLockClient.ByEmpty | Join the server without the client |
Commands
- /lc ban - Ban the player MAC address
- /lc unban - unBan the player MAC address
- /lc info - Show information about a client
- /lc list - List players using any authorized client
- /lc reload - Reload the configuration
- /lc unex - Re-enable the anti-cheat protection
Attention
This plugin is made to work with a client mode that is available here, if you don't use the mod, the server will not recognise you!
Know Bugs
- Sometimes the kick message will not be properly shown, this is not related to FLockClient.
- Let me know if you find any!
i think the mod download the required files?
You have to install forge. You can get it here : files.minecraftforge.net
i have been kiced from the server with this message: You do not have FML installed, you cannot connect to this server pls help
I got it working with the latest versions! I'm ecstatic... Turns out it was my fault.
Basically, I kept getting kicked because of invalid mods, but it had nothing to do with the mods (somewhat); it had to do with the COREMODS. I have spent hours going through each and every mod, but the problem was that instead of putting a copy of my coremods into the /jars/coremods folder, they should actually be dropped into the ./jars/mods folder... the same folder as all of your other mods. (I think I vaguely remember you mentioning this).
Furmiga, can you update the instructions that on the server side, that a copy of both mods and coremods should go into /jars/mods.
All is working perfect now. I'm happy!!!!
Would you by chance still have 2.7.1 / 2.7.2 / 2.7.3? Looks like they were deleted on Bukkit.
@saki2fifty
o.k., i made a ticket: http://dev.bukkit.org/bukkit-mods/flockclient-server/tickets/7-send-files-anyway/
Julia :)
@o0Julia0o
I believe so. I think the entire ./send folder will be sent, regardless of what's in there, or if its changed or not. It's all based on if anything in ./jars has changed or not.
@saki2fifty
so the sendfodler\info.txt is always send, if the minecraft.jar is changed? Regardless of if the info.txt has changed?
Julia :)
@o0Julia0o
Yeah, that's what I was doing. Within your minecraft.jar, just add a whatever.txt (a changelog or something), which will then trigger the player to re-download what's in the ./send folder.
hmm... thx, saki2, i hope your problems will go away, too.
"This folder contains all the files to send to the client if he join the server using a invalid jar or invalid mods." how can i send files, even if the jar-file or mods are identical? F.e. to update an Info.txt?
thx
Julia :)
@o0Julia0o
I'm envious. Mine isn't working so well now with the latest versions. Looks like you have straight craftbukkit whereas I'm using forge. :( I might have to go down a few version just to make it work for now.
Wow - now it´s working(no more download of the minecraft.jar again & again(but only with fasthook on "true"! :)
right-mous-button-bug: Only 1 thing,.. if i press right mouse-button, the client disconnects with "end of stream" :´( If i make fasthook on "false" every time joining the server, the Minecraft.jar is downloaded again, and again, and again(so i can´t play)... :( So i have the same problem link here: @NL_Alexxx Screenshot: http://s1.directupload.net/images/130606/r48hk6zl.png ...and sometimes, the client isn´t closed automatically & the new Minecraft.jar isn´t downloaded automatically! Then it´s looking like this: http://s14.directupload.net/images/130606/bbxw4tij.png
...so where do i find 2.7.3? -> found it(thx saki2fifty): http://dev.bukkit.org/bukkit-mods/flockclient-server/files/29-v2-7-4/
_
@saki2fifty
thx saki - i am using: craftbukkit 1.5.2-R0.1 & FlockClient 2.7 with FockClient.zip: 2.2 & PermissionsEx v1.19.5
that´s my config-file: http://pastebin.com/RWS8wsdh
the one and only other change to flockclient-server: sendfolder: send\bin\Minecraft.jar
permisson given in PEX: "- FLockClient.hash.Minecraft"
thx
Julia :)
P.S. UPDATE: With 2.7.4 all things work perfect(no matter how fasthook is set"true" or "false")
1 Question.. if i wan´t to update the Client-files.. will it be enough to open the actual minecraf.jar(with actual client-files) & copy the files over? Or do i have to use a "clean"(inclusive my wanted mods like optifine) mincraft.jar & then copy in the new client-files?
@FurmigaHumana
I checked both in DOS and in windows, no hidden, system, or any other files.
The only permissions that I have are:
FLockClient.hash.minecraft.jar
FLockClient.hash.modpack.jar
The way the Technic launcher (which is what i'm using) works, is it launches minecraft.jar but will also load modpack.jar (just a compilation of client side mods) on the fly, so, I've given permissions to both those.
In the log, I don't see any mention of modpack.jar, only minecraft.jar.
http://pastebin.com/DRUwEqJM
I'm going to try a few more things. I guess there isn't a verbose switch to see the filenames of the mods in the logs?
@saki2fifty
It should have kicked you, unless you have bypass permission.
@FurmigaHumana
:D I know, I didn't test like I usually do. Sorry, I usually test with a clean copy of the server with no mods.
Ok, i'll check in a bit, but why would the client even be allowed to join if there is an invalid mod? Hidden file or not...
@FurmigaHumana
yes, an option would be great! thx!
Julia :)
@wydgabriel
it is waiting for approval, te enviei por pm.
@saki2fifty
there is 30 mods on server side and 31 on client side, maybe it loaded an hidden file? Open CMD and type dir "<directory to your mods folder>" (with "") see the amount of files, and let me know if there is more files than you see (the plugin should ignore hidden files, but just to make sure)
@o0Julia0o
No, multiple accounts on the same MAC address is allowed, I can add an option for that if you want.
@wydgabriel
in english please.. so we all can verify your problem etc. - thx, wydgabriel.
@FurmigaHumana
Q: why does he read the mac-adress? Isnt´t it possible to run 2 Accounts from the same NIC/PC?
A: It is used for bans, it is only usefull for servers that have this mod as a requirement to join.
Q: if i have set "force client" to true, 2 Accounts run from 1 PC can´t join the server, because they are using the same MAC-adress?
A: replace <client> which the name of the file of the jar that is inside the jars folder, without the .jar
o.k., i understand.. it´s which Player is allowed to use which jar.
Bug: Make 2 Bukkit-Server-folders - 100% the same(except the name). But the 1st put a test.txt in send-folder. The second won´t have no file in send-folder.
If you start the 1st server, the clients geht the test.txt-file - as expected. Then shutdown the server & delte the test.txt-file. After that start the 2nd server. And...you guess it - the client will download the test.txt again!
thx
Julia :)
Getting the below error. When I join the server, it says that I have an invalid mod, but I stay in the game. Also, I ensured all mods on the client and on the server were exactly the same.
SendFiles is False CheckConfig is False
http://pastebin.com/DRUwEqJM
Furmiga, eu não entendi muito bem como se resolve esse erro de End of Stream. Coloquei tudo certinho, tudo funcionado corretamente, mas quando um player abre um bau, uma porta ou clica numa placa com botão direito, da End of Stream na hora. Onde está o arquivo da 2.7.4? Obrigado!!