Comments (48)
I made a new build here:
REMOVED FOR INVALID REPOSITORY USED
Sorry the size is a tad bit bigger than Leoko's normal builds, he most likely has a program compress the JAR farther than what I have my Eclipse compiler set to. Also sorry for using MediaFire :P
If there are any errors, let me know and I will attempt to fix them.
from advancedban.
This is probably intended. Rather than filtering players, it just tab completes using a list of all players. It's not a bug as such, but could probably be improved.
from advancedban.
Since someone will eventually ask you this, are you using this on Bukkit/Spigot or BungeeCord, because your server version is a bit confusing.
If you are using Bukkit/Spigot, I will look into this and try to find the issue and make a pull request. If you are on BungeeCord, I will still try and find the issue, but I may not be able to help you as I am not that experienced with BC. I would also check your server settings, and plugins, for anything to do with tab completion, as this may also cause an issue.
from advancedban.
@ZombieHDGaming I assumed he was running AB on the server which was behind BungeeCord.
In Bukkit and Spigot it is impossible to globally override tab completion for all commands; plugins can only do it per-command and there are no "settings" for it. BungeeCord usually passes tab completion through to the server unless it is disabled, in which case it won't work at all.
Regardless, I can confirm that this has been an issue on Paper 1.11.2, which also doesn't alter tab completion behaviour as far as I know.
@Twonox Could you paste a list of plugins you are running?
from advancedban.
I use Ab with bungee, not in single server.
Plugins: https://hastebin.com/gomaxusawo.nginx
from advancedban.
What Bungee plugins are you running?
from advancedban.
AdvancedBan, BungeeAuthmeBridge, BungeeMotd, Bungeeperms, CommandDispatcher, SkinRestorer and Socket4MC
from advancedban.
@md678685 Actually, there is an event for tab completion to prevent it, and edit the completions, I am currently testing other commands for custom completions. Also, your bug confirmation is actually null. I just tested AdvancedBan 2.0.6 on the latest Spigot and PaperSpigot, freshly built, and tab complete works fine for players. As for you @Twonox, this is an interesting situation. I have not tested BC AdvancedBan yet, but I will have to test it and see if I get the same result as you do.
So yes. Current Standing: Spigot/PaperSpigot/Bukkit are fine, BungeeCord is still currently unknown. I think this is safe to say, this is a per-server error basis.
from advancedban.
I made a PR to hopefully make a quick fix for this, and hopefully prevent something like this in the future. If this gets pulled in, it should fix your issue :)
from advancedban.
Can this fix also use tab completion for offline players when in the data base (either data.yml or MySQL)?
from advancedban.
Currently, it does not. My pull was just a rewrite for the original tab complete to add for already typed text completion for online players. Again, as I don't know much about BungeeCord I could not say if I could do this. Although, if other devs wanted to try their hand in this, they most likely could try and modify my PR to add that feature.
from advancedban.
The PR got merged after some imporvements on the code ;) thanks @ZombieHDGaming
Advanced Tab Completion for offline players, layouts, time types etc. will be added in a future version of advancedban :)
from advancedban.
Is there dev build of this update please ?
from advancedban.
No sorry, but the code is public so feel free to compile it by your own
from advancedban.
Erf, I tried to compile Ab with Eclipse and its Git perspective but when I try to create the Java project from the ab git files I receive this error: https://hastebin.com/amaciyozuk.pl
I did successfully the clone of the ab repo, idk why there is this error.
from advancedban.
I am currently out, but when I get home, I'll have a Crack at compiling AB.
from advancedban.
I've tested the tab completion, but it sadly doesn't work :/
from advancedban.
Is it at least tabbing properly? Or is it like it was before?
EDIT: Nvm, I dowloaded the master repository by accident :P
from advancedban.
Okay, I NOW have the proper build done. This should fix tab completing and any fix that was added in the last few days.
AdvancedBan V.2.0.6.1
https://www.mediafire.com/?vz35d9canl86e1q
from advancedban.
Thanks but my antivirus say that it's can malicious. Should I trust you ? :o x)
from advancedban.
What virus protection do you use? Also, you can decompile if you would like and look. I do not even know where to start with hacking, so I wouldn't be able to do anything.
But yes, I have done nothing with the source files besides a few clean ups.
from advancedban.
I use McAfee WebAdvisor
from advancedban.
Word of advice, never use McAfee. I would suggest Norton as a better option. While Norton is a yearly thing, it has better detection than McAfee ever will. Plus McAfee has been known for it's false detections, or no detections at all for high risk files.
This is the result from an online file scanner. 41 engines and no threats detected.
https://www.metadefender.com/#!/results/file/YTE3MDEzMXJKb0dJVVJCUkRsckpoTTg4Q3JSRGU/extracted/files
from advancedban.
Neither anti virus programs I will ever recommend.
As McAfee in know for false detection, Norton slows your pc down (they probably both do). 1 other bad point is that both have to be paid for.
Avast or AVG both have free versions that do just as good, or even better then McAfee or Norton.
from advancedban.
I use McAfee for only Web protection.
The antivirus that I use for my computer is Windows Defender. I know, the antivirus make the computer more slow, for this reason I deleted McAfee a long time ago.
But also now, I deleted Mcafee Web Advisor for false danger detection. I'm open to your suggestion for only Web protection
from advancedban.
I tested your update ZombieHDGaming, and I'm happy to say that IT WORKS ! :p thank you again
from advancedban.
For just web protection, that's hard to say. Web protection isn't exactly a very high priority, as your virus software and browser mainly scan for this. If anything, I would say just use your normal system protection for this. Also, you are welcome. Let me know if there is anything else you want tweaked, and I will look into getting it done.
from advancedban.
Mhmm, I have an other (very little) request, at the moment. It's to add /banip because there is only /ipban which works,
from advancedban.
@Twonox banip is already implemented as an alias. Have you tested this to see if it works? If not, I will most likely have to figure out a fix and push a PR to fix it on here as well.
from advancedban.
You have to add - banip also to the essentials config "disabled-commands" section or it will interfere with AdvancedBan.
from advancedban.
I will test your suggestion dutchy, but I don't understand why ab's /banip can have interference with essentials whereas the other commands works fine.
from advancedban.
This is what I experienced before and adding that to the essentials file fixed it for me.
I think it used the essentials ipban instead of the Advancedban.
from advancedban.
When using the command /ipban it used the essentials version.
When using the command /banip it used the AdvancedBan version.
For ease you type /ipban faster then the otherway around lol
from advancedban.
/ipban is handled by Ab, not by essentials
from advancedban.
It could be a leftover setting from when I uses v10.3. It just popped up in my mind when you asked for adding the command. If all works fine without it been added to the essentials config then forget I said some.
Better to much info then to less 😜
from advancedban.
I did the test in my test server, and I noticed that the command /banip
works fine only if Ab isn't in BungeeCord.
from advancedban.
Then when placed in the bungeecord Essentials takes over as this is on the server and not in your bungee.
If you test it with bungee and add the command to the "disabled-commands" it should work fine again.
from advancedban.
Ok, now i'm not able to test. I give news tomorrow
from advancedban.
no worries
from advancedban.
I did what you said but it completely disable the command /banip
why ab's /banip can have interference with essentials whereas the other commands works fine.
It seemed evident that is not the cause.
from advancedban.
Indeed the command does not do anything atm, I just tested this too. But to be honest I type /ipban as I'm used to that command and it feels allien to type it the otherway.
from advancedban.
Well, it seems like the aliases are not working in BungeeCord :D I'm normally only coding Spigot/Bukkit Plugins so I did not know about this ^^ I'll fix it in a future version
from advancedban.
@DevLeoko aka, I'll most likely make a PR for it....
from advancedban.
Hows the tab completion error coming along? any more news or tests on it??
from advancedban.
The tab completion was confirmed as fixed, unfortunately, the aliases for BungeeCord may be out of reach due to how AdvancedBan is currently setup. As all the commands are not currently a "solid state (hard coded into system)," a full rewrite of the BungeeCord command system may need to happen for aliases to work properly.
from advancedban.
that conformation was only made on your build as far I understand, has there been a PR made for a new version that can be released by Leoko?
from advancedban.
I just looked inside the PR section, and the last PRs were made by myself, nearly 2 weeks ago.
from advancedban.
So it's just waiting for a new release then...
from advancedban.
Related Issues (20)
- MySQL error HOT 3
- SQLException: Unknown system variable 'transaction_isolation' HOT 1
- When somebody changes their username, they get unpunished. HOT 14
- Sometimes misses the player's ip HOT 1
- Join while banned HOT 3
- Database dont work
- HikariPool Error
- MySQL Not working Error HOT 1
- Banned After Opping Self HOT 4
- Feedback if the reason to long
- Mysql not work HOT 5
- MySQL details are correct but it is erroring on connection attempt. HOT 6
- PunishmentManager gives empty list for banned player HOT 6
- Problems using the API HOT 11
- When called from the API, "this.mi" is null HOT 14
- MySQL Error
- I cant connect mysql to plugin HOT 2
- `Can't unban people HOT 1
- Which perms to give so mods can ban offline players
- AdvancedBan not banning players HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advancedban.