Signin (login) - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: Signin (login) (/thread-2507.html) Pages:
1
2
|
Signin (login) - DrMasik - 09-05-2016 Signin (login) plugin that use player name as login and standard commands (/l, /reg, etc) for authenticate player (password). Version: 2016090502
UA:
RU:
Some exists features: - Player can change password - Password saved in database in hashed form. - Player can not move until authenticate - Show authenticate message every 3 seconds (Version: 2016090501). - Change passwords for players (Version: 2016090502). Permissions: signin2.core - Player can use plugin. Must set for default role. signin2.chpasswd - Change other player password.
commands:
Source: bitbucket.org (git) Download (zip) RE: Signin (login) - LogicParrot - 09-05-2016 You can use the cPlayer Freeze command rather than manually freezing. RE: Signin (login) - NiLSPACE - 09-05-2016 This is the first time I've seen someone place every single function in a different file I'm curious though, what does this plugin have that my Login is lacking? Not that there is anything wrong with a little competition ^^ RE: Signin (login) - DrMasik - 09-06-2016 (09-05-2016, 11:24 PM)LogicParrot Wrote: You can use the cPlayer Freeze command rather than manually freezing. I was trying but no result. May be, I does something wrong RE: Signin (login) - DrMasik - 09-06-2016 (09-05-2016, 11:36 PM)NiLSPACE Wrote: This is the first time I've seen someone place every single function in a different file This protects against accidental errors. (09-05-2016, 11:36 PM)NiLSPACE Wrote: I'm curious though, what does this plugin have that my Login is lacking? Not that there is anything wrong with a little competition ^^ This plugin authentication players by name. In any way, some people ask me for this plugin. RE: Signin (login) - Boo - 09-06-2016 (09-05-2016, 11:36 PM)NiLSPACE Wrote: This is the first time I've seen someone place every single function in a different file this plugin working without UUID, im using this plugin. I Think UUID not need in offline servers. So i really like this plugin RE: Signin (login) - NiLSPACE - 09-06-2016 @DrMasik How does it prevent accidental errors? @Boo, that's why I created a networkapi. The advantage over using an API instead of accessing a sqlite file directly is that the API will still work even after the sqlite table layout changes. RE: Signin (login) - DrMasik - 09-06-2016 (09-06-2016, 01:28 AM)NiLSPACE Wrote: @DrMasik How does it prevent accidental errors? 1. When you are member of team and modify same file - it is hard to merge. In case Git cannot do it automatically. 2. When you are making some enhancement - it is simplest to add functions in separate file. Hello from C++ OOP. 3. When you are looking for bug - it is more efficient to have splitted files to function. 0. When I start programming (1997) no rules and howtos Now - you have many best practices. I like to split one task to one file or more files if needed. Task - it is function. It is from C++ Try yourself and you find it is interesting for you. I recommend to read books of Bjarne Stroustrup RE: Signin (login) - DrMasik - 09-06-2016 Little update ot version: 2016090501. - Show authenticate message every 3 seconds. RE: Signin (login) - LogicParrot - 09-06-2016 Quote:When you are member of team and modify same file - it is hard to merge. In case Git cannot do it automatically. Git is very good at auto merging though |