Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot warn offline players that have not been warned before #12

Open
MKBandzz opened this issue Jul 29, 2016 · 12 comments
Open

Cannot warn offline players that have not been warned before #12

MKBandzz opened this issue Jul 29, 2016 · 12 comments

Comments

@MKBandzz
Copy link

well, i can warn users that are offline, but they need to have a warning point already

@robske110
Copy link
Owner

This is an already known issue, and sadly there is no easy way to resolve this. I may implement it in 1.3.0. :)

@robske110 robske110 added the TODO label Jul 29, 2016
@MKBandzz
Copy link
Author

oh, ok.

@robske110
Copy link
Owner

By the way, wich version are you using?

@MKBandzz
Copy link
Author

banwarn v1.1.0

@robske110
Copy link
Owner

You might want to use https://github.com/robske110/BanWarn/releases/tag/1.2.0-InDev-beta2 instead

@MKBandzz
Copy link
Author

ok

@robske110
Copy link
Owner

As 1.2.0 is now released, I'm now actively working on this issue. It will be fixed in BanWarn 1.3.0

@robske110
Copy link
Owner

Pease note that i now discontinued 1.x.x series the new version 2.0.0 will adress and fix this issue though!

@Aericio
Copy link
Contributor

Aericio commented Aug 6, 2016

So ditching 1.3 and going to 2.0?

@robske110
Copy link
Owner

yep

@Aericio
Copy link
Contributor

Aericio commented Aug 6, 2016

Just a question: Whats the estimated date 2.0.0 will come out?

@robske110
Copy link
Owner

robske110 commented Aug 6, 2016

1 month or so
Actually I'm right NOW, so really know, working on it.

    public static $langs = ['deu','eng'];
    public static $friendlyLangs = [
        'deu' => ['ger', 'german', 'deutsch'],
        'eng' => ['english', 'englisch']
    ];

    public static function getLangFromFriendlyName($friendlyName){
        $friendlyName = strtolower($friendlyName);
        foreach(self::$friendlyLangs as $lang => $friendlyNames){
            in_array(,true);
        }
        return false;
    }

translation file :)

@robske110 robske110 added this to the 1.2.0 milestone Aug 11, 2016
@robske110 robske110 changed the title warn Cannot warn offline players that have not been warned before Aug 11, 2016
@robske110 robske110 modified the milestones: 1.2.0, 2.0.0 Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants