#(Kadnick) How to sentinel fights back only when attacking it?
70 messages · Page 1 of 1 (latest)
(Kadnick) How to sentinel fights back only when attacking it?
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
I tried Event pvsentinel .... But I dont get it
And fightback wont work.. It doesnt fight back. If adding the player target, then it directly attacks.
!readme
Sentinel can be found on GitHub at: https://github.com/mcmonkeyprojects/Sentinel
you could do that a variety of different ways, i'd check the sentinel java docs, or even checking how Sentinel handles the relevant commands that would combine what you need
I tried different things... But I dont get it to work. I already read the wiki several times..
the wiki or the javadocs?
it might also help if you share the relevant code you tried with an explanation of what you expected to happen and what actually happed - logs referencing any debugging you do with it as well would be very useful
if you havent seen the javadocs specifically, you'd want these:
https://ci.citizensnpcs.co/job/Sentinel/javadoc/index.html
https://jd.citizensnpcs.co/
package index
package index
No, not the java docs. I have not planned to code anything. Few years before I got sentinel to fight back if getting attacked. But over the time I forgot how to setup that.
So there is an npc and if I attack it, it shall fight back.
oh, you marked this thread with a dev api tag - that's for coding with sentinel lol
I am sorry xD
it's okay lol
It did that automatically. Tried to remove that.
have you tried any of the combat FAQs? the ones with fightback and pvp not working?
My point is not listed there.. Faqs and common issues
pvsentinel is player versus sentinel;
maybe try pvp?
as long as you removed yourself from the target ignoring, it should just retaliate
Yes the first I did... RemoveTarget owner.
event:pvp, event:pvsentinel... Both not working
did you try without that? nothing but /trait sentinel?
and the remove owner, of course
just without an event: for any targeting
/npc create poop
/trait sentinel
/sentinel removeignore owner
Hitting, nothing happens.
Then trying /sentinel fightback.... NPC now fights back!... Nothing.. Only standing there and looking holes into the sky..
Please post your full latest log file.
Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).
How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.
Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.
Content of Server Log Paste #108084: Unnamed Server Log Paste... pasted 2023/03/29 11:53:28 UTC-07:00, Paste length: 495042 characters across 4705 lines, Content: [13:51:54] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
Content of Server Log Paste #108084: Unnamed Server Log Paste... pasted 2023/03/29 11:53:28 UTC-07:00, Paste length: 495042 characters across 4705 lines, Content: [13:51:54] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
Paper version git-Paper-477 (MC: 1.19.4)-- (Current build :white_check_mark:)
Citizens v2.0.31-SNAPSHOT (build 2979) -- (:warning:Outdated build, behind by 21)
Sentinel v2.7.3-SNAPSHOT (build 505) -- (Current build :white_check_mark:)
@vague oasis
0 (:triangular_flag_on_post: Hacked or Invalid ID)
17.0.6 :white_check_mark:
WorldGuard v7.0.8-SNAPSHOT+2215-20044a7, ProtocolLib v5.0.0-SNAPSHOT-b624, BeautyQuests v0.20.1
PluginManager v2.7.4 - :warning: Plugin Managers are dangerous and will cause unpredictable issues. Remove it.
Geyser-Spigot v2.1.0-SNAPSHOT - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.
floodgate v2.2.2-SNAPSHOT (b??-f0a20aa)
TAB v3.3.1 - This plugin adds Below_Name scoreboards to NPCs.
ViaVersion v4.6.2 - Mixed client vs server versions can sometimes cause packet-related issues.
Multiverse-Core v4.3.1-b861 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit v2.6.0-SNAPSHOT-392;d82bf05 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.
[13:52:15] [Server thread/WARN]: Caused by: java.nio.file.AccessDeniedException: ./EventsNeu/session.lock :warning: Log contains error messages.
could be the outdated citizens version; the other notes have a lot of relevant issues that can cause that to happen though
cant test myself rn but if it cant be replicated on a server with just sentinel/citizens it may be a plugin conflict
!pluginconflict
+++ Info pluginconflict: https://wiki.citizensnpcs.co/Plugin_Conflict
If you've been sent to this page, you're having trouble with a plugin feature and a helper suspects it is caused by a Plugin Conflict.
that'd be a plugin conflict then, some other plugin si preventing it from working
you might check plugins that manage any kind of entity interaction, or combat
nice... 97 plugins to focus on
only 47 if you try copying out half at a time lol
but uh, that is an alarming number of plugins
I copied my server to a test server. I think disabling via pluginmanager one by one should work finde
*fine as well
definitely not, that will cause it to stay broken likely
you don't want to use that at all, citizens and sentinel use a lot of reflection
infact if you have ever used it and then tried using citizens or sentinel, it's probably enough to break that alone
Okey ^^ Then I will disable half by half
So in fact, when I enable my EntityDamageEvent, Sentinel/Citizens wont act anymore...
https://pastebin.com/5KghzrQt
Its only that.. Do you know how to fix this?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@last sedge