Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

anonymusdennis

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

1 Neutral

About anonymusdennis

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. What kind of wifi connection are you using If it is a public wifi or has some kind of proxy I would suggest you to try again with an active vpn connection; That would be my suggestion also i would suggest you to not share any gradle scans because they contain all the information of your pc like your Ip adress, username and computer components This is not very safe please yust paste the needed logs and infos on a site like pastebin.com and then share that link so that you can be sure not to share any critical data
  2. I want to send a message to all players like the tellraw command, but without using any commands I want a Message like this: '<misterx>: Hello World' to be shown to every player as if the player misterx sent this message. each message sender instance is it's own object public class virtual_user { static ArrayList users = new ArrayList<String>(); private String username; public virtual_user(String name) { String original = name; int adder = 0; while(users.contains(name)) { adder++;
  3. Am i doing this right? //in server Start event: System.setOut(new PrintStream(new consolesub(System.out))); //------- private static class consolesub extends OutputStream { PrintStream original; public consolesub(PrintStream out) { original = out; } public consolesub() { super(); } @Override public void write(byte[] b) throws IOException { original.write(b); super.write(b); } @Override public void w
  4. just like an external server console I dont Really get how to use youre solution while not deleting all the output of the server console this method of seems to leave me two choices: either never using the server console (cmd) again because there won't be any output anymore ... did i get that right? If i set my own conloe output, won't then the original System.out vanish? please help i don't want to overwrite my server's root console thats because i don't want the user to input any commands .... I want them to only communicate.... please help!
  5. I don't want to put it in a File I want to resend the message directly via websockets
  6. Every time a message in the server console is displayed what i want to do is to get this message as a String... I don't want to change the message i know that wouldn't be possible but i want to get the Message and reformat it and then send it to my http server..... (my website is supposed to give me an server console and so far i got messages from users but not messages from the server or any message the players might get in chat which are not by a player) If there in an better way then trying to listen to the log4j instance i would rather use that, but currently I don't even get h
  7. I installed the plugin and ran it via console when i Installed the mod it wasn't recognized anymore I am not sure how to understand the docs of Shadowjar I think I need to set something up... has anyone experience with this plugin cause all it did was creating a jar file with the following file Structure: its the big html donnow any better method of displaying the tree I think it's the entire project Folder.....
  8. I need to use some libaries: grizzly * tyrus * cause I want do mod something for my server with websockets I can't figure out how to add these depndencies correctly so that in the end I have but one jar file to put on my server (the size doesn't matter) could you help me? I searched everywhere but If i add it to my gradele dependencies it only uses them to compile and they do not end up in my final jar..... if i put it on my server I get the following error and the websocket thread gets closed: [19:13:49] [Thread-3/INFO] [STDERR/]: [java.lang.T
  9. okay i got it now and here is my code for anyone who is interested: ModItemGroups.java package com.anonymusdennis.annomod.init; import com.anonymusdennis.annomod.annomod; import net.minecraft.block.Blocks; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.nbt.CompoundNBT; import net.minecraft.util.NonNullList; import net.minecraft.util.registry.Registry; import java.util.ArrayList; import java.util.function.Supplier; import java.util.logging.Logger; import sta
  10. okay i think I got it started without any errors: package com.anonymusdennis.annomod.init; import com.anonymusdennis.annomod.annomod; import net.minecraft.block.Blocks; import net.minecraft.client.gui.screen.inventory.CreativeScreen; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.container.Container; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.nbt.CompoundNBT; import net.minecraft.util.NonNullList; import net.minecraft.util.registry.Re
  11. public static class ModItemGroup extends ItemGroup { public String name = ""; public ItemGroup UpdateName(String name) { this.name = ""; return this; } public static ArrayList<String> player_names = new ArrayList<String>() {{}}; private final Supplier<ItemStack> iconSupplier; public ModItemGroup(final String name, final Supplier<ItemStack> iconSupplier) { super(name); this.iconSupplier = iconSupplier; } @Override public void fill(NonNullList<ItemStack> items) { LOGGER.info(this.name)
  12. @Override public void fill(NonNullList<ItemStack> items) { for(Item item : Registry.ITEM) { item.fillItemGroup(this, items); } } so far I got this but what is the list of Items I am supposed to get? I am new to this topic please forgive my stupidity
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.