-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
View Distance #2010
Comments
|
@ShaneBeee personally I see a great opportunity to make people donate $100 per chunk of view distance |
Im not sure if you're being sarcastic or serious ;) haha, but yeah I guess that would totally make sense, I didn't think of it that way! |
I would still be cool to have this in skript but people could make Pay To See (P2S). |
Just for less lags ( for me less lags, not P2S lol). Plugin 'BestViewDistance' is not too fast like Skript. The 'set view distance for player' or 'set players view distance to 4' "to be reminiscent" with Skript. I cannot even join my server because the chunks are too large but might Skript could do something with events like on join... With Skript view distance could be easier than doing with skript-mirror. Searched here and found that #1655 so... |
if you have Skript-mirror its very simple (you will need to be using Paper not Spigot) on join:
player.setViewDistance(4) At least this is something you can do for the time being |
Wow really? I was thinking if that would need something like on the skUnity (import: java.lang.System java.lang.String as JavaString java.lang.Math org.bukkit.Location) Hmm. But the 'set players view distance to 4' also too useful, easy to write and nice to read... |
You don't need any imports because the player object is already there. I do agree with this Im just saying for the time being |
I'll add it later. Meanwhile, you can use the alternatives suggested here. |
|
They will most likely do a whole set/get/add/remove thing, as with many other expression, but just a heads up, the way it would be written would be exactly what you are doing. Internally it would most likely be something like player.setViewDistance(player.getViewDistance() + value) so at the end of the day, internally it would the same thing as if doing it with skript-mirror |
[13:18:51 ERROR]: [Skript] 14 log handlers were not stopped properly! (at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1496)) [if you're a server admin and you see this message please file a bug report at https://github.com/bensku/skript/issues if there is not already one]
|
That has nothing to do with this issue nor is something caused by Skript, ask for support in the forums/discord server. |
Not sure but you might need update skript mirror to 2.0.0 because these errors are like the same that happens on 1.0.0 |
Sorry. Just reinstall needed. And how to do this.. I'm getting lag when I try join and getting t...: 21:54:04 WARN]: [Skript] No matching method: CraftPlayer#getViewDistance called with (3 (Long)) |
Getters don’t take parameters. |
Hello. Could you might add view distance option?
Its useful option to reduce the lags on server.
Might could also work with on join e.g: 'set players render distance to 3' to let player join succesfull without lagging others and ownself
The text was updated successfully, but these errors were encountered: