TriggerReactor icon

TriggerReactor -----

Stop wasting time making plugins from scratch



updates
ver | jar
1.5.2 ~ 1.12.2 bukkit | bukkit-legacy
1.13 ~ latest bukkit | bukkit-latest
sponge | sponge

Notice / 안내사항
From 3.2.x, because the plugin will be compiled using Java 11, support for Sponge implementation will be dropped until it supports Java 11. This is because there is no easy way to support both platforms using different java versions, so temporarily, no updates will be provided since 3.2.x. However, 3.1.x will be keep maintained to provide bug fixes for Sponge too.

3.2.x 버전부터 자바 11 지원을 위해 스폰지 버전의 개발이 임시 중단됩니다. 이는 스폰지가 자바 11을 지원하기 전 까지는 버킷과 스펀지 두개의 플랫폼을 동시에 다른 자바 버전을 사용해서 지원 할 방법이 없기 때문에 그렇습니다. 그러므로 3.2.x 부터는 스펀지 버전은 업데이트 되지 않습니다. 하지만 3.1.x 버전의 경우 스펀지 버전 역시 지속적으로 버그 수정이 제공 될 예정 입니다.

Updates
Please back up everything before updating.
We've tried our best to support smooth transition, but unexpected things may occur. Report to us when that happens to you.

+/trg call is added. Similar to /trg run or /trg sudo, you can now directly invoke NamedTrigger through command. This greatly increases compatibility with many of other plugins that uses commands at the end of execution. As always, use /trg help for more info. (Thanks MidnightSugar for the idea)
+/trg i <name> edititems command is added to support InventoryTrigger item editing with the actual inventory. (Thanks to @gerzytet for the efforts) #220
+CommandTrigger now is now directly registered as an actual command.

  • Because of this change, you now can use tab-completion feature with CommandTrigger. Check CommandTrigger Wiki for update.
*Config file reworks

  • This is the main reason why you have to back-up your works. Conversion is all automatic, but to make sure everything is safe, make a copy for all of your works in TriggerReactor folder.

  • Config files no longer use yaml, but use json.

  • If you save Set in a global variable, they will be stored as simple array. This means that when you retrieve it back from the global variable, it will be a List, not Set.

  • To make your life easier, few methods were added.

    • arrayOf("a", "b", "c", ...) directly build an array
    • listOf("a", "b", "c", ...) same as arrayOf, but this build a List
    • set(Collection) you can make set from any Collections. List is one example. set(listOf("a", "b", "c", ...))
*Some rework for reflection helper

  • Fixed problem related to IMPORT #260
  • Most direct access to constructor/method will work without problems
*Fixed #ROTATEBLOCK 62234f7 (Thanks @rkdrns4747)
*Fixed where plugin doesn't load in Sponge when config folder of trigger doesn't exist
*Fixed where /trg i edititem command may freeze after the user unexpectedly log off
*Fix for tab completer: No longer has to restart the server to see the change
+Added /trg cmd settab command. See #309 for details
*Fixed where deleting a trigger caused entire triggers to stop saving new data.
*Fixed where an exception is thrown by the method with no-arguments cause ArrayIndexOutOfBoundException
*Quick fix to address TriggerReactor start/stop event not being called for bukkit
*Now assigning null value to global variable does not throw NPE
*Remove the annoying exception related to EntityTrackingThread
*Tab completion no longer expose the trigger names to the players without the permissions
*Aliases now register/unregister upon command usage

업데이트/추가사항
업데이트전에 모든 설정을 백업 하세요.
가능한 아무 문제가 없게 하려고 노력 하였지만 예상밖의 문제가 생길 수 있습니다. 업데이트전에 꼭 모든 TriggerReactor 내용물의 복사본을 만드시고 문제가 발생했다면 알려주세요.

+/trg call 가 추가되었습니다. /trg run 나 /trg sudo 와 사용법은 비슷하지만 이 명령어의 경우 NamedTrigger 를 직접 실행합니다. 이로인해 명령어 실행을 기반으로 하는 다른 플러그인과 호환성에서 매우 유리해졌습니다. /trg help 로 더 자세한 설명을 보세요. (Thanks MidnightSugar for the idea)
+/trg i <name> edititems 명령어로 이제 InventoryTrigger의 내용물을 일일히 수정하지 않고 인벤토리로 손쉽게 수정 가능합니다. (Thanks to @gerzytet for the efforts) #220
+CommandTrigger 가 이제 실제 명령어로 등록됩니다.

  • 이 명령어로 인해 tab-completion CommandTrigger 로 탭 완성 기능이 사용 가능 해 졌습니다. CommandTrigger 위키에서 자세한 설명을 참조 하세요.
*설정 파일 리워크

  • 업데이트전 백업을 해야 하는 이유 입니다. 전환작업은 모두 자동이며 만전을 기하기 위해 꼭 TriggerReactor 폴더를 미리 백업 해 두시기 바랍니다.
  • 설정 파일들이 이제 yaml 이 아닌 json을 사용합니다.
  • Set 을 전역변수에 저장하는경우 일반 배열로 저장됩니다. 이런 이유로 전역변수에서 저장된 Set을 불러오는경우 Set 이 아닌 List로 불러와 집니다.
  • 그래서 몇가지 메소드가 추가되었습니다.
    • arrayOf("a", "b", "c", ...) 배열을 쉽게 만듭니다
    • listOf("a", "b", "c", ...) List 를 쉽게 만듭니다
    • set(Collection) 쉽게 Collection 을 Set으로 변경 합니다. 예) set(listOf("a", "b", "c", ...))
*reflection helper 개선

  • IMPORT 사용시 생성자가 제대로 선택되지 않던 버그 수정 #260
  • 이제 왼만한 메소드/생성자는 제대로 작동합니다.
*#ROTATEBLOCK 가 수정되었습니다. 62234f7 ( @rkdrns4747 님에게 감사 드립니다.)
*스폰지 에서 사용 시 트리거의 폴더가 존재 하지 않는경우 플러그인 자체가 로드되지 않던 버그 수정
*/trg i edititem 명령어로 아이템을 수정 하던 도중 강제 종료되는경우 더이상 명령어가 작동하지 않던 버그 수정
*이제 서버를 재시작 하지 않아도 커맨드 트리거가 정상적으로 탭 완성 기능에 등록 됩니다.
+/trg cmd settab 명령어를 추가 했습니다. #309 를 보세요
*트리거 하나를 삭제 시 모든 트리거의 저장 기능이 마비되던 버그 수정.
*값을 받지 않는 메소드에서 에러 발생 시 ArrayIndexOutOfBoundException 가 발생하는 버그 수정
*버킷에서 사용 시 트리거 start/stop 이벤트가 실행되지 않던 버그 수정
*커맨드 트리거 동기화 실패시 NPE가 발생하던 버그 수정. #328
*서버 종료시 EntityTrackerThread 관련 워닝이 나오던것을 수정
*이제 권한이 없는 유저가 탭 완성 기능으로 트리거 이름을 확인 할 수 없습니다.
*CommandTrigger 동의어 설정시 명령어 사용 직후 바로 적용되게 수정
----------, Dec 20, 2020
Resource Information
Author:
----------
Total Downloads: 16,058
First Release: May 18, 2017
Last Update: Nov 27, 2023
Category: ---------------
All-Time Rating:
15 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings