caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Jul 8, 2018 15:53:44 GMT
What am I doing wrong?
|
|
|
Post by T O P N E P (Radlof) on Jul 8, 2018 16:04:32 GMT
u dont need to compile it if you DONT EVEN KNOW what your doing just install aero and the TFM Mod and essenstials of course and there u go u can use it no compiling <o
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Jul 8, 2018 16:09:55 GMT
I'm not the best developer in the world. All i want to do is customize TFM.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 8, 2018 16:13:47 GMT
I can't see the screenshots on mobile. Can you paste a picture of what you have in the lib folder, and the compilation error. Be sure to install Git and restart your computer
|
|
|
Post by T O P N E P (Radlof) on Jul 8, 2018 16:35:32 GMT
I'm not the best developer in the world. All i want to do is customize TFM. than or ask someone else OR just change a couple of stuff in the config.yml if u have the plugin installed on ur server thats litterly it
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Jul 8, 2018 16:48:45 GMT
Failed to execute goal on project totalfreedom: Could not resolve dependencies for project me.totalfreedom:totalfreedom:jar:5.2: Could not find artifact net.dv8tion:JDA:jar:JDA-3.6.0_354-withDependencies at specified path C:\Users\SIlenceed\Documents\NetBeansProjects\TotalFreedomMod-TFM1.12-Alpha\lib\JDA-3.6.0_354-withDependencies.jar -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Jul 8, 2018 17:03:48 GMT
@eventhandler(priority = EventPriority.NORMAL) public void onEntitySpawn(EntitySpawnEvent e) { if (!(e instanceof LivingEntity)) { return; }
Entity entity = e.getEntity(); if (entity instanceof Attributable) { if (((Attributable) entity).getAttribute(Attribute.GENERIC_FOLLOW_RANGE).getBaseValue() > 255.0) { ((Attributable) entity).getAttribute(Attribute.GENERIC_FOLLOW_RANGE).setBaseValue(255.0); } if (((Attributable) entity).getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getBaseValue() > 10.0) { ((Attributable) entity).getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).setBaseValue(10.0); } } }
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Jul 8, 2018 17:04:29 GMT
The error is attribute isn't a found symbol or something
|
|
|
Post by T O P N E P (Radlof) on Jul 8, 2018 17:46:15 GMT
@eventhandler(priority = EventPriority.NORMAL) public void onEntitySpawn(EntitySpawnEvent e) { if (!(e instanceof LivingEntity)) { return; } Entity entity = e.getEntity(); if (entity instanceof Attributable) { if (((Attributable) entity).getAttribute(Attribute.GENERIC_FOLLOW_RANGE).getBaseValue() > 255.0) { ((Attributable) entity).getAttribute(Attribute.GENERIC_FOLLOW_RANGE).setBaseValue(255.0); } if (((Attributable) entity).getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).getBaseValue() > 10.0) { ((Attributable) entity).getAttribute(Attribute.GENERIC_MOVEMENT_SPEED).setBaseValue(10.0); } } } Get eclipse coder and search a video on how to compile cause there is no developer on and you are completly retard
|
|
caizo
Member
Posts: 45
| Likes: 8
|
Post by caizo on Jul 8, 2018 17:53:58 GMT
fixed but no issue: how do I make saconfig useable in game.?
|
|
|
Post by T O P N E P (Radlof) on Jul 8, 2018 17:57:04 GMT
fixed but no issue: how do I make saconfig useable in game.? you have to code for that. Not compiling but just coding and not smart cause u have to make it only usable for admins and if someone breaches an admin account the breacher can EASILY make all ops admins and than its not Total Freedom but Total Chaos
|
|
StevenNL2000
Forum Admin
Posts: 6,415
| Likes: 6,936
IGN: StevenNL2000
Timezone: UTC+01:00
Member is Staff. Need immediate assistance? Send a PM
|
Post by StevenNL2000 on Jul 8, 2018 17:58:39 GMT
fixed but no issue: how do I make saconfig useable in game.? Remove checkConsole() from the arguments you want to be able to use.
|
|
|
Post by T O P N E P (Radlof) on Jul 8, 2018 18:01:48 GMT
fixed but no issue: how do I make saconfig useable in game.? Remove checkConsole() from the arguments you want to be able to use. Isn't that dumb steven? Since if an op breaches and admins account they can use saconfig on others.
|
|
StevenNL2000
Forum Admin
Posts: 6,415
| Likes: 6,936
IGN: StevenNL2000
Timezone: UTC+01:00
Member is Staff. Need immediate assistance? Send a PM
|
Post by StevenNL2000 on Jul 8, 2018 18:03:02 GMT
Remove checkConsole() from the arguments you want to be able to use. Isn't that dumb steven? Since if an op breaches and admins account they can use saconfig on others. Who am I to judge how he operates his server?
|
|
|
Post by T O P N E P (Radlof) on Jul 8, 2018 18:09:08 GMT
Isn't that dumb steven? Since if an op breaches and admins account they can use saconfig on others. Who am I to judge how he operates his server? No altho shouldnt you warn him about that an op may hack into a staff members account so they can /saconfig themselfs?
|
|