TwitchSpawn

TwitchSpawn

411k Downloads

FTBrank dos not allow Twitchspawn

Foss-Dyret opened this issue ยท 3 comments

commented

we have FTBRank. and it requires being dev rank in order for it to send things through. so what permission does it require to have twitchspawn on?

commented

/ts or /twitchspawn commands do not require any Minecraft Permission levels at all.
However, TwitchSpawn internally requires executor to be either one of:

  1. Marked as a streamer under credentials.toml
  2. Marked as a moderator under credentials.toml
  3. A command block
  4. A dedicated server console

public boolean hasPermission(String nickname) {
if (nickname.equals("@")) // Command block
return true;
if (nickname.equalsIgnoreCase("Server")) // Dedicated server
return true;
if (moderatorsMinecraft.stream()
.anyMatch(mod -> mod.equalsIgnoreCase(nickname)))
return true;
if (streamers.stream()
.anyMatch(streamer -> streamer.minecraftNick.equalsIgnoreCase(nickname)))
return true;
return false;
}

commented

I thank you many times for your answer. it also helped to find the error. and apologies for the inconvenience

commented

Most welcome! No need for apologizes!
I'm glad it's sorted now ๐Ÿ˜„